Before you start
You need a working WHMCS install and file access to it (FTP, SSH, or your host's file manager), plus admin access to the WHMCS control panel. No merchant verification and no business documents — OrbChain onboarding is an email and an API key. The module is MIT-licensed and free.
Step 1 — Install the gateway module
WHMCS gateways install as files, not as an uploaded ZIP through the admin UI. Get the module from the OrbChain for WHMCS page (the source is on GitHub), then copy the files into your WHMCS gateways directory:
/modules/gateways/orbchain.php
/modules/gateways/orbchain/ ← supporting files
Upload both the orbchain.php entry file and the orbchain/ folder alongside it. Keep the paths exactly as shipped — WHMCS discovers a gateway by the presence of that top-level PHP file in /modules/gateways/.
Step 2 — Activate it in WHMCS
In the WHMCS admin, go to Setup → Payments → Payment Gateways, open the All Payment Gateways tab, and activate OrbChain. It moves to your active-gateways list with a settings panel — leave that open for step 4.
Step 3 — Create your OrbChain API key
Sign up at orbchain.io/app (email + password, no documents). Create an API key with the payment:create scope and set a webhook secret — a random string OrbChain uses to sign callbacks to WHMCS. You'll copy two values into the gateway settings: the API key and the webhook secret.
Step 4 — Configure the gateway
Back in the OrbChain gateway settings in WHMCS, paste:
- the API key,
- the webhook secret — it must be identical to the one in your OrbChain dashboard, because it's what proves a callback is genuine,
- the callback URL — the gateway's settings screen shows the URL WHMCS listens on; make sure your OrbChain dashboard webhook points at exactly that address.
Save. Pick which coins to accept in your OrbChain account — a good default for hosting is USDT on Tron (broad coverage), USDC/SOL on Solana (cheap and fast), and Bitcoin.
How the invoice flow works
When a WHMCS invoice is due, the OrbChain gateway turns the "Pay Now" action into a secure OrbChain checkout link. The customer clicks through, picks a coin, and pays. OrbChain sends a signed webhook to your callback URL; the module verifies it (HMAC-SHA512, constant-time, deduped on the event id via tbladdonmodules meta) and marks the WHMCS invoice paid — which triggers your normal order activation / provisioning automation. No custodian sits in the middle; funds settle to the wallet you control.
The one difference that matters: recurring renewals
This is the part hosting operators need to understand up front, because crypto works differently from stored cards. There is no card on file to auto-charge each month. So renewals are customer-initiated: WHMCS still does everything it always does — generates the renewal invoice on schedule, runs your dunning/reminder emails, suspends on non-payment — but instead of silently charging a card, each renewal invoice presents a fresh OrbChain pay link the customer clicks to pay.
Practically, that means your WHMCS reminder emails carry more weight (they're the prompt to pay, not just a receipt), and you'll want your suspension/termination automation configured as usual. Many hosts accept crypto alongside a card gateway for exactly this reason: card for hands-off recurring, crypto for the customers who prefer it and for one-off or annual invoices where a single manual payment is no friction at all.
Refunds
The module implements the standard WHMCS refund() callback, so refunds run from the invoice screen like any other gateway. OrbChain routes the refund via its payout endpoint back to the original payer's address. Because nothing is custodied, a refund is an explicit debit from your balance to that address — not a dispute you have to defend. (Lightning refunds are the exception; they need a fresh invoice from the customer.)
Test, then go live
Switch your OrbChain account to test mode, generate a test invoice in WHMCS, and pay it through the checkout link with testnet coins. Confirm the invoice flips to Paid and your provisioning fires. Every webhook attempt is logged and replayable from the OrbChain dashboard, so if the invoice doesn't update you can see exactly what was delivered. When it all works, turn test mode off.
If something doesn't work
- Invoice stays unpaid after payment: the callback isn't reaching WHMCS. Confirm the callback URL in the gateway matches your OrbChain dashboard webhook, and that your WHMCS host is publicly reachable (not a private/localhost dev URL — OrbChain refuses to call private addresses).
- Signature errors in the gateway log: the webhook secret differs between WHMCS and your dashboard. Re-paste the same value on both sides.
- Gateway missing from checkout: confirm
orbchain.phpis in/modules/gateways/and the gateway is activated under Setup → Payments.
That's it
Upload the module, activate it, paste your key and matching webhook secret, test one invoice, go live. Your hosting business now takes crypto on WHMCS invoices at 4% with no chargebacks and no one holding your revenue. For the feature detail see the plugin page; to understand the callback side deeply, read Webhooks that never lose a payment.