- a payment gateway (
PawPayments (Crypto)) that pays any WHMCS invoice with crypto, - an optional addon (
PawPayments Crypto Deposit) that adds an Add Funds page where customers credit their WHMCS balance with crypto.
Download the plugin (.zip)
Ready-to-upload
pawpayments-whmcs-<version>.zip (gateway + addon).View source on GitHub
Source, releases, and issue tracker.
File layout
The release zip mirrors the WHMCS install tree:Activate the gateway
- Setup → Payments → Payment Gateways → All Payment Gateways.
- Click PawPayments (Crypto) to activate.
-
Fill the fields:
Activate the Add Funds addon (optional)
- Setup → Addon Modules → PawPayments Crypto Deposit → Activate.
- Configure — leave the API Key field empty to inherit the gateway’s key, or enter a separate one.
- Grant access to the desired admin roles, save.
mod_pawpayments_credits on activation; this small table provides idempotency for the top‑up webhook (primary key on order_id).
The customer top‑up page is then available at https://<your-whmcs>/index.php?m=pawpayments_topup. Link to it from a custom client‑area menu item.
Webhook URLs
The plugin sendsnotify_url on every invoice it creates, so manual webhook setup is not required. The endpoints are:
If the merchant account requires a default webhook URL, use the checkout one. Both endpoints must be reachable over HTTPS.
Lifecycle
Checkout.addInvoicePayment is called with the Paw order_id as transactionId, so duplicate webhook deliveries never double‑pay an invoice.
Top‑up. Each top‑up creates a one‑shot Paw invoice via POST /api/v2/invoices and is recorded in mod_pawpayments_credits keyed by order_id. On webhook success the WHMCS AddCredit API is called, visible on Clients → Client Profile → Summary → Credit Balance.
Webhooks carrying a permanent_address_id are silently acknowledged with 200 OK.
Smoke test (checkout)
OK with HTTP 200, and the WHMCS invoice transitions to Paid.
Troubleshooting
WHMCS gateway logs are at Utilities → Logs → Gateway Log (filter by
pawpayments).

