WHMCS

Watenga payment gateway module for WHMCS. Embeds the checkout widget on invoices; clients stay on your billing portal.

Installation

  1. Download from downloads.watenga.africa/plugins/watenga-whmcs.zip (or from Dashboard → Apps → WHMCS after marketplace install).
  2. Copy the modules/ folder into your WHMCS root (merge, do not replace).
  3. Setup → Payments → Payment Gateways → Activate Watenga.
  4. Keys: Developer Console → Apps & credentials → your API app (Client ID + Secret Key + Webhook Secret).
  5. Callback / webhook URL: https://YOUR-DOMAIN/modules/gateways/callback/watenga.php

Test mode

Enable Test Mode and use pk_test_* / sk_test_* keys. Same API host for test and live. Use sandbox test cards and EcoCash numbers from the Sandbox docs (mock driver).

Troubleshooting

ErrorSolution
Callback not receivedEnsure callback URL is publicly reachable over HTTPS
Invoice not marked paidCheck WHMCS gateway log; verify webhook secret
Duplicate transactionWHMCS invoice ID must be unique per payment attempt
Need help? Email support@watenga.africa