WHMCS Payment Gateway

WHMCS M-Pesa Payment Gateway Module

Automate M-Pesa payments and recurring billing in WHMCS.

Accept M-Pesa payments directly through your WHMCS client portal. Built for web hosts, domain registrars, SaaS providers and software businesses β€” automate collections, reduce manual reconciliation and improve the customer payment experience.

  • Lipa na M-Pesa STK Push
  • One-Time M-Pesa Payments
  • M-Pesa Ratiba Subscriptions
Phone M-Pesa prompt paying WHMCS invoices with recurring schedule
Accept M-Pesa. Automate collections. Simplify billing.
Overview

What is the WHMCS M-Pesa Module?

The Enet WHMCS M-Pesa Module is a payment gateway integration that connects your WHMCS billing platform to M-Pesa payment services. Customers initiate payments directly from their WHMCS client area using their M-Pesa mobile numbers, and confirmations are communicated back to WHMCS for invoice processing.

It removes the need for customers to manually submit payment confirmations or for administrators to reconcile every transaction individually. It also supports subscription-based payment workflows through M-Pesa Ratiba, so you can automate recurring service payments.

At a glance

8
Key features
6
Steps to go live
5
Business types served
Nairobi
Local support team
  • Built for WHMCS
  • One-time and recurring
  • Less manual reconciliation
Features

Everything you need, built in

Automate M-Pesa payments and recurring billing in WHMCS.
01

Lipa na M-Pesa STK Push

Customers pick M-Pesa, receive an STK Push on their phone and authorise with their PIN β€” no manual confirmation codes.

02

One-Time M-Pesa Payments

Pay any WHMCS invoice; once confirmed it can be marked paid so provisioning proceeds.

  • Web hosting packages
  • Domain registrations & renewals
  • SSL certificates
  • VPS & dedicated servers
  • Software subscriptions
Subscription payment support

M-Pesa Ratiba Subscriptions

Customers authorise scheduled recurring payments for monthly, quarterly or other recurring services.

  • Initiate Ratiba subscriptions
  • Link references to services & domains
  • Process subscription notifications
  • Manage active/inactive states
04

Automated Payment Confirmation

Processes M-Pesa notifications to automate confirmation, settlement, reconciliation, reference recording and renewals.

05

Automatic Invoice Settlement

Successful payments are applied to the right invoice, so WHMCS activation, renewal and provisioning continue normally.

06

Subscription & Service Linking

Maintains the relationship between Ratiba references and the customer's WHMCS services and domains.

07

WHMCS Credit Management

Payments can be applied to outstanding invoices or reflected as customer account credit, depending on the workflow.

08

Tracking & Reconciliation

Trace M-Pesa transactions against customer invoices, services and subscriptions inside WHMCS.

How it works

From first call to go-live

For Ratiba subscriptions, the customer authorises the scheduled arrangement once; subsequent collections and their WHMCS records are handled by the subscription workflow.
  1. 01

    Customer selects M-Pesa

    From the WHMCS client area, as the payment method.

  2. 02

    Payment request initiated

    The customer provides or confirms their M-Pesa number.

  3. 03

    STK Push notification

    An M-Pesa prompt is sent to the customer's phone.

  4. 04

    Customer authorises

    They enter their M-Pesa PIN to approve the transaction.

  5. 05

    Payment confirmation

    M-Pesa returns the result via the configured callback.

  6. 06

    WHMCS invoice updated

    The module processes the payment and updates billing records.

Screenshots

A look inside M-Pesa Module

Live screenshots are being prepared β€” ask us for a live demo in the meantime.
m-pesa-module.enet.co.ke

Screenshot coming soon

Dashboard overview
m-pesa-module.enet.co.ke

Screenshot coming soon

Main workflow
m-pesa-module.enet.co.ke

Screenshot coming soon

Reports & analytics
m-pesa-module.enet.co.ke

Screenshot coming soon

Settings & configuration
m-pesa-module.enet.co.ke

Screenshot coming soon

Mobile view
m-pesa-module.enet.co.ke

Screenshot coming soon

Notifications
Who it's for

Built for businesses like yours

Web Hosting Companies

Shared, reseller, VPS, dedicated and other hosting services.

Domain Registrars

Registration, renewal and transfer payments via M-Pesa.

SaaS & Software Providers

Software subscriptions, licences and recurring digital services.

ICT Service Providers

SSL certificates, maintenance, managed services and more.

Subscription Businesses

Recurring M-Pesa workflows that cut manual follow-ups.

Why Enet

Why businesses choose Enet

Built for WHMCS

Works with WHMCS's existing invoice and service management workflows.

One-time and recurring

Conventional invoice payments plus scheduled collections through M-Pesa Ratiba.

Less manual reconciliation

Automated notifications and invoice updates reduce admin workload.

Better customer experience

Customers pay from the client area without a separate manual process.

Subscription automation

Recurring references linked to WHMCS services and domains.

Technical expertise & support

Experience in WHMCS development, payment gateways, APIs and automation.

Before you start

Requirements

Our team can assist with module installation, gateway configuration, API connectivity testing and payment workflow verification.
  • An operational WHMCS installation.
  • Access to the WHMCS admin area and module directories.
  • A configured M-Pesa integration account and API credentials.
  • The required M-Pesa API permissions and callback configuration.
  • A publicly accessible HTTPS endpoint for payment notifications.
  • A compatible WHMCS and PHP environment.
Answers

M-Pesa Module questions

Straight answers from our team. Still unsure? Call, WhatsApp or chat with us.
01Can customers pay WHMCS invoices using M-Pesa?
Yes. Customers select M-Pesa from the available WHMCS payment methods and pay using the supported STK Push workflow.
02Does the module support automatic M-Pesa STK Push?
Yes. It initiates STK Push requests so customers authorise payments directly from their phones.
03Does it support recurring payments?
Yes. It supports M-Pesa Ratiba subscription workflows to automate scheduled collections for supported subscriptions.
04Can I use M-Pesa for hosting renewals?
Yes. Customers can pay hosting invoices and renewals through M-Pesa, and Ratiba can be used for supported recurring arrangements.
05Can I use the module for domain renewals?
Yes. It supports WHMCS billing workflows for domain invoices, including registration and renewal payments.
06Does it automatically mark invoices as paid?
Yes. On successful confirmation the module processes the transaction and updates the associated WHMCS invoice.
07Do I need an M-Pesa API account?
Yes. You need an appropriately configured M-Pesa integration account with the necessary API access and permissions.
08Can Enet install and configure the module?
Yes. We assist with installation, configuration, integration testing and technical support.
09Can the module be used outside Kenya?
It depends on the supported M-Pesa API environment, market requirements and available permissions in that market. Contact us to discuss.
Related

Keep exploring

Connect your systems

Let your systems talk to each other

M-PESA, KRA eTIMS, TRA VFD, banks, SMS and WhatsApp β€” connected to your website, shop, WHMCS or ERP by one experienced local team.

  • Sandbox tested
  • Secure credentials
  • Auto reconciliation
  • Local support

Plan your integration

Share the system you use and what you want to connect.