Safaricom Mpesa PayBill Payment Paywall

Hi,

To get the Mpesa working first you will have to create an account with safaricom developer portal and create an app there. There are instructions available on their website for the same.

Please first sign up on the below URL:

https://developer.safaricom.co.ke/login-register

Once you have an account you will have to create an app by following the below link:

https://developer.safaricom.co.ke/get-started

You should be able to find a link "+Add a new App" in the dashboard itself once you are logged in. Give some "App Name" of your preference and select "Mpesa Sandbox" under the "Product" option.

I also understand they have different portal for different regions, like the above one is for Kenya, hence the "*.co.ke" in the domain name there.

Once the app is created you will find the "Keys" |"Products" |"Details" section when you select that newly created app. Please use the "Consumer Key" and "Consumer Secret" from here and configure in the cnMaestro Mpesa config details. Also you will follow the "GO LIVE" process available in the safaricom account dashboard and get in touch with safaricom to get your app/account approved for the live transactions. You might have to provide "Validation URL" and "Confirmation URL" from the cnMaestro mPesa configuration to the safaricom support or in the go live process.  There are bunch of details which safaricom support should be able to help in the process if you can get in touch with them and mention you plan to use C2B API's for this app.

cnMaestro doesn't have the capability to send notifications SMS for guest access clients for session expiry, etc which you are looking for, but it's a good requirement and I will pass it on to my product management.

cnMaestro also has a On premises version which can be downloaded as a software and installed on a virtual machine. Please do install proper certificates on the cnMaestro to avoid certificate issues.

Below link you will find the cnMaestro software image:

https://support.cambiumnetworks.com/files/cnmaestro/

I have attached couple of screen shots for the safaricom app creation which should get you started on it.

Thank you,

Kunal

1 Like