MPESA continues to lead the world in mobile money transfer. It has revolutionised the way Kenya does business. Ken-Pesa (PB) Payment Gateway is payment gateway that provides MPESA Integration in WHMCS Software. Your customers will now place orders and check out using MPESA as their payment gateway. Their orders will be activated automatically after verification of the MPESA Payment.
Features
- Real time processing of MPESA transactions to your web server
- Display the procedure of paying using Lipa na MPESA from one’s cell phone
- Display an input text box on the invoice where the client keys in the transaction number as received from MPESA and a button to verify the number.
- Ability to add more than one MPESA transaction to one invoice. e.g. an invoice of 2,000/- can have two payment transactions of 1200/- and 800/-
- An invoice that has been underpaid cannot be marked as paid but will prompt the client to pay the balance.
- If an invoice has been overpaid using this gateway, the extra amount is recorded as credit to the client’s account. The credit can be applied to other invoices or refunded through the same gateway
- The gateway has the ability to work with the pre-defined exchange rates to allow working with multi-currency e.i. a client invoiced in US dollars can pay in Kenya shilling and use the gateway
- Admin can search an MPESA transaction and drill down to display all the details as received from MPESA and also see the invoice attached to this transction
- A template has been provided in the clientarea to displays all payments received using this gateway.
- Easy to install and configure
- Cron to auto archive/delete the old transactions to avoid rapid growth of your database
How it works - Pay Bill Numbers
When a client makes payments to your MPESA Paybill Business Account, a confirmation request is send to your web server.
Kenpesa Payment Gateway:
- decodes and processes the posted data,
- saves the data into your database,
- finds the matching invoice that the client paid against, adds payment to the invoice,
- sends Invoice Payment Confirmation
- executes all auto provisioning module commands e.g. domain registration, domain renewal, hosting account setup
NB: Invoice Payment Processing can be done automatically without the client logging into the clientarea.
How it works - Till Numbers
When a client makes payments to your MPESA Till Number, a confirmation request is send to your web server.
Kenpesa Payment Gateway:
- decodes and processes the posted data,
- saves the data into your database,
- adds payment to the invoice,
- the client keys in Transaction Code received from MPESA,
- sends Invoice Payment Confirmation
- executes all auto provisioning module commands e.g. domain registration, domain renewal, hosting account setup
Admin Screenshots
Client Screenshots
WHMCS-MPESA Integration
Version: 1.0 - Last Updated: 22/09/2012
- First release
Version: Version 1.1 - Last Updated: 03/06/2013
- Added the auto archive/delete functions using a cron file
- Added the client area template to display MPESA transactions
- Making use of WHMCS inbuilt database functions
- Fixing of the identified bugs
- Added a widget to display the latest transactions
Version: 1.2 - Last Updated: 04/01/2015
- Removed the cron file and appended the auto archive/delete functions to the system cron using hook functionality
- Redefined the procedure of paying using MPESA pay bill option after Safaricom updated their SIM toolkit and moved the Pay Bill option to be a submenu of ‘Lipa na MPESA’
- Added support for Multi-currency conversion and processing
- Added pagination
Version: 1.3 - Last Updated: 02/08/2016
- Added Support for Safaricom MPESA API
- Added Auto-Apply of payments to invoices for MPESA Paybill Numbers
Frequently Asked Questions
Little of questions that we got asked frequently
Can Kenpesa Gateway support Till Numbers?
Our WHMCS MPESA Integration supports MPESA Till numbers as well as Paybill Numbers. Since Till Numbers don not have “the Account Step” that is Available on Paybill Option, the auto-apply payment must be turned off.
How fast can the gateway process the MPESA Payments?
Since the migration of our gateway from MPESA IPN to MPESA API, we have noted great improves including speed of processing. The gateway processes the requests using almost instantly.
Is the Kenpesa Gateway using the MPESA API?
Yes, Kenpesa Gateway is using the new MPESA API having migrated successfully from MPESA Instant Payment Notification (IPN).
Does this gateway support other software other than WHMCS?
Yes, we have created a plugin for WordPress Woo-commerce. We have alse created sample codes that we share with PHP web developers to enable them add the MPESA integration in to their web based applications.