Title: TransX402 Paywall
Author: jamesiscamping
Published: <strong>2026 年 8 月 22 日</strong>
Last modified: 2026 年 8 月 22 日

---

搜索插件

![](https://ps.w.org/transx402-paywall/assets/banner-772x250.png?rev=3660551)

![](https://ps.w.org/transx402-paywall/assets/icon-256x256.png?rev=3660551)

# TransX402 Paywall

 作者：[jamesiscamping](https://profiles.wordpress.org/jamesiscamping/)

[下载](https://downloads.wordpress.org/plugin/transx402-paywall.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/transx402-paywall/#description)
 * [评价](https://cn.wordpress.org/plugins/transx402-paywall/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/transx402-paywall/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/transx402-paywall/#developers)

 [支持](https://wordpress.org/support/plugin/transx402-paywall/)

## 描述

TransX402 Paywall lets site owners sell individual articles with IDRX stablecoin
micropayments. Configure your TransX402 API key, set prices in IDR, and enable paywalls
per post.

This plugin requires a free TransX402 account and API key (sandbox or live). All
plugin code is fully available; payment settlement is provided by the TransX402 
service.

**Features**

 * Server-side settlement — your API key stays on the server
 * Payment history stored in your WordPress database
 * Return visits unlock via a signed HttpOnly access cookie
 * Preview modes: first paragraph, word count, or excerpt
 * Overlay, inline, and blur paywall styles
 * Paywalled content gated on singular views, REST API, RSS, excerpts, and search

**Source**

Development repository: [https://github.com/campinvestment/transx402-wordpress-plugin](https://github.com/campinvestment/transx402-wordpress-plugin)

### External services

This plugin connects to external services to process payments and display admin 
links:

 * **TransX402 API** (`https://api.transx402.com`, or an admin-configured allowlisted
   facilitator URL) — payment facilitation and verification. The site sends the 
   API key (server-side only), payment signatures, and transaction hashes. No visitor
   API keys are exposed in the browser. Terms: [https://transx402.com/terms](https://transx402.com/terms).
   Privacy: [https://transx402.com/privacy](https://transx402.com/privacy)
 * **Block explorers** (`https://basescan.org`, `https://testnet-explorer.onchainfolio.
   com`) — used only in the WordPress admin payments list to link transaction hashes.
   No visitor data is sent to these services.

Service provider: Camp Investment / TransX402 — [https://transx402.com](https://transx402.com)

### Privacy

 * Stores payment history (payer wallet address, transaction hash, post ID, amount)
   in your WordPress database.
 * Sends payment payloads and transaction hashes to the TransX402 facilitator when
   a visitor pays.
 * Sets an HttpOnly, SameSite=Lax signed access cookie (Secure when the site uses
   HTTPS) after a successful payment so return visits can unlock content without
   re-paying.

### Credits

 * [@transx402/client](https://github.com/campinvestment/transx402-client) v0.2.5(
   MIT) — browser payment SDK, bundled at `assets/vendor/transx402.browser.min.js`.
   Source and build instructions: [https://github.com/campinvestment/transx402-client](https://github.com/campinvestment/transx402-client).
   Sync with `./scripts/sync-client.sh`.
 * Bundled transitive dependencies (MIT/BSD as noted in the vendor file footer) 
   include noble-hashes, noble-curves, buffer, and ieee754.

## 屏幕截图

[⌊Settings screen — API key, merchant wallet, and paywall defaults⌉⌊Settings screen—
API key, merchant wallet, and paywall defaults⌉[

Settings screen — API key, merchant wallet, and paywall defaults

[⌊Editor sidebar — enable paywall and set per-post price⌉⌊Editor sidebar — enable
paywall and set per-post price⌉[

Editor sidebar — enable paywall and set per-post price

[⌊Front-end paywall — unlock article with IDRX⌉⌊Front-end paywall — unlock article
with IDRX⌉[

Front-end paywall — unlock article with IDRX

## 安装

 1. Upload the plugin ZIP via **Plugins > Add New > Upload Plugin**
 2. Activate **TransX402 Paywall**
 3. Go to **Settings > TransX402** and enter your API key and merchant wallet
 4. Enable paywall on individual posts from the editor sidebar

## 常见问题

### Do I need a TransX402 account?

Yes. Register at [dashboard.transx402.com](https://dashboard.transx402.com) and 
create a sandbox (`ipk_sandbox_…`) or live (`ipk_live_…`) API key. The plugin will
not settle payments without a configured key.

### Where do I find my merchant wallet?

Copy it from the TransX402 dashboard. It is also auto-detected after your first 
successful payment.

### Does the access cookie require a cookie banner?

The plugin sets an HttpOnly access cookie only after a successful payment so return
visits can unlock content. Site owners in the EU (or similar jurisdictions) should
disclose this cookie in their cookie policy / CMP if required for their region.

### What are the TransX402 terms of use?

See [https://transx402.com/terms](https://transx402.com/terms) and [https://transx402.com/privacy](https://transx402.com/privacy)(
or the terms linked from your TransX402 dashboard).

## 评价

此插件暂无评价。

## 贡献者及开发者

「TransX402 Paywall」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ jamesiscamping ](https://profiles.wordpress.org/jamesiscamping/)

[帮助将「TransX402 Paywall」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/transx402-paywall)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/transx402-paywall/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/transx402-paywall/)，或通过[RSS](https://plugins.trac.wordpress.org/log/transx402-paywall/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/transx402-paywall/)。

## 更新日志

#### 1.0.0

 * Initial release with server settlement and WordPress DB payment history

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**2 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.2 或更高版本 **
 *  已测试的最高版本为 **7.1**
 *  PHP 版本 ** 8.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/transx402-paywall/)
 * 标签
 * [micropayments](https://cn.wordpress.org/plugins/tags/micropayments/)[monetization](https://cn.wordpress.org/plugins/tags/monetization/)
   [paywall](https://cn.wordpress.org/plugins/tags/paywall/)[x402](https://cn.wordpress.org/plugins/tags/x402/)
 *  [高级视图](https://cn.wordpress.org/plugins/transx402-paywall/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/transx402-paywall/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/transx402-paywall/reviews/)

## 贡献者

 *   [ jamesiscamping ](https://profiles.wordpress.org/jamesiscamping/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/transx402-paywall/)