Skip to main content

WHMCS

The IntaSend gateway module lets your WHMCS clients pay their invoices with M-Pesa, card and the other methods enabled on your account. Checkout runs on IntaSend's hosted payment page.

1. Upload the module​

Unzip the file and upload the two intasendpayment.php files to your WHMCS installation:

From the zipUpload to
intasendpayment.phpmodules/gateways/
callback/intasendpayment.phpmodules/gateways/callback/

2. Activate it​

In the WHMCS admin, go to Setup → Payments → Payment Gateways → All Payment Gateways and click IntaSend Payments. This opens the module's settings.

3. Add your keys​

Copy your keys from Settings → API Keys in IntaSend and fill in:

SettingValue
Public KeyYour publishable key
Secret KeyYour secret key
Test ModeTick with sandbox keys. Untick with live keys.

Click Save Changes.

How it works​

Unpaid invoices show a Pay Now button. It opens IntaSend checkout prefilled with the client's name, email, phone and address, in the invoice's currency. The invoice ID is sent as the api_ref. When the payment completes, the module checks its status with IntaSend and marks the WHMCS invoice paid.

Refunds can't be made from WHMCS. Raise them from your IntaSend dashboard or the chargebacks API.