WHMCS crypto payment gateway module
CXPay for WHMCS is a third-party payment gateway module under modules/gateways with a callback file for signed webhooks. Hosting companies and SaaS billers redirect clients to CXPay hosted checkout and apply invoice payments only after verification.
Install the gateway
Download https://cxpay.cash/downloads/cxpay-for-whmcs-latest.zip. Versioned builds use the same path with an explicit semver, for example cxpay-for-whmcs-0.1.0.zip. Copy modules/gateways/cxpay.php and modules/gateways/callback/cxpay.php (plus bundled lib) into your WHMCS tree.
Activate under System Settings → Payment Gateways. Enter API key, API base URL, and webhook secret. Point CXPay webhook delivery at the callback URL documented in the module README.
Confirm the gateway shows on invoice payment pages for clients in your chosen currency before announcing crypto as available.
Invoice payment flow
cxpay_link outputs a redirect to a payment link created with an idempotency key scoped to the invoice id. Clients pay on CXPay; WHMCS must not mark the invoice paid from the return URL alone.
The callback verifies cxpay-signature, checks invoice metadata, and records payment on payment.succeeded. Failed and expired events log without settling the invoice so accountants are not misled.
WHMCS Marketplace
WHMCS Marketplace listings are free to submit with English Markdown, icon, and screenshots. CXPay hosts the download URL. Listing is optional—direct distribution already works for any merchant.
Configure webhook endpoints to receive signed POST requests when payment state changes. Parse the cxpay-signature header, reject stale timestamps outside the five-minute tolerance, and return quickly while processing asynchronously. Failed deliveries retry and may dead-letter; use dashboard delivery logs to diagnose URL typos, TLS issues, or application errors on your side.
CXPay charges 1% on standard checkout, 0.5% when the payer selects the CXCASH rail (private, gas-free payments on Aztec via cxcash.app), and a $0.30 minimum fee per payment. There is no setup fee, monthly fee, or application fee in the product. Ethereum and Bitcoin network fees are shown to the payer at cost on those rails.
Merchant sign-up requires an email and password (or sign in with your existing CoinExchange account), a business name, and a payout wallet address. CXPay does not collect government ID, proof of address, business phone numbers, or KYB documents for onboarding. You are responsible for understanding obligations that may apply to your business in your jurisdiction.
Operating WHMCS with CXPay
Supported networks and assets today: Ethereum (ETH, USDC, USDT, DAI, WBTC, PYUSD); Base (ETH, USDC, USDT, DAI, WBTC); Arbitrum (ETH, USDC, USDT, DAI); Optimism (ETH, USDC, USDT, DAI); Polygon (POL, USDC, USDT, DAI); BNB Chain (BNB); Avalanche (AVAX, USDC, USDT); Tron (USDT, TRX); Solana (USDC, USDT, SOL, PYUSD, WBTC); Bitcoin (BTC); Lightning (BTC); Private (CXCASH).
The merchant dashboard and GET /reports/payments help you filter by status and time range. Download GET /exports/payments.csv when finance needs a spreadsheet-friendly view. Pair exports with webhook-driven order updates so internal systems stay aligned with on-chain settlement. Because CXPay does not hold balances, your wallet history and CXPay reports together form the reconciliation trail.
Merchants who educate payers about exact amounts and quote expiry see fewer support tickets. Publish your accepted assets and networks on your store policy page and link to CXPay asset guides. When customers pay with ETH or BTC, remind them that network fees appear separately from the CXPay merchant fee. For audiences comfortable with Aztec, highlight CXCASH as a gas-free alternative through cxcash.app.
Server integrations should create payment intents with Idempotency-Key headers, persist the returned intent ID on your order row, and only mark paid after payment.succeeded verifies on your webhook handler. Test keys let you exercise the full lifecycle without touching live balances. WooCommerce merchants download the official plugin from /downloads/cxpay-for-woocommerce-latest.zip (pinned /downloads/cxpay-for-woocommerce-0.3.3.zip) and configure API base URL plus webhook secrets before going live.
Explore CXPay
Start accepting crypto payments
Create a merchant account with email, business name, and your payout wallet. No ID documents required.
Sign up freeQuestions about this page
Download?
https://cxpay.cash/downloads/cxpay-for-whmcs-latest.zip
Does WHMCS support the module?
WHMCS does not support third-party add-ons—use the cxpay.cash contact form.
Test mode?
Use cxpay_test_ API keys when sandbox is available.
Fiat settlement?
No. Crypto settles to your wallet only.