跳到内容

TransX402 Paywall

v1.0.0

jamesiscamping · 2026年8月22日 上架

Monetize WordPress posts and pages with IDRX micropayments using the x402 protocol.

正在使用
10 以下
评分
暂无
累计下载
306
最近更新
2026年8月22日
需要 WordPress 6.2+已测试到 7.1.5PHP 8.0+

贡献者

截图

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
Front-end paywall — unlock article with IDRX
Front-end paywall — unlock article with IDRX

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

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. 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

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 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. 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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums