TransX402 Paywall

TransX402 Paywall

Details
View on WordPress

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.

Details

Plugin code:
transx402-paywall
Plugin version:
1.0.0
Outdated:
No
WP version:
6.2 or higher
PHP version:
8.0 or higher
Test up to WP version:
7.1
Total installations:
0
Last updated:
2026-08-22
Rating:
Times rated:
0
idrx
micropayments
monetization
paywall
x402