Skip to main content
The WHMCS integration ships as two components that share a single API key:
  • 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:
Drop those folders directly into your WHMCS root, then restore ownership:

Activate the gateway

  1. Setup → Payments → Payment Gateways → All Payment Gateways.
  2. Click PawPayments (Crypto) to activate.
  3. Fill the fields:

Activate the Add Funds addon (optional)

  1. Setup → Addon Modules → PawPayments Crypto Deposit → Activate.
  2. Configure — leave the API Key field empty to inherit the gateway’s key, or enter a separate one.
  3. Grant access to the desired admin roles, save.
The addon creates 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 sends notify_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)

Expected: OK with HTTP 200, and the WHMCS invoice transitions to Paid.

Troubleshooting

WHMCS gateway logs are at Utilities → Logs → Gateway Log (filter by pawpayments).

Uninstall

Deactivate the addon and gateway from the WHMCS admin first. Optionally drop the bookkeeping table: