Please let me work for you!

I will surely give you a great offer now!

Dear Sir/Madam,

My name is Brian Mbiki and I created this platform with products to help you:

1. Start a Payment processing gateway.

2. Integrate Mpesa with any website or Mobile App.

3. Add any form of Payment gateway to your website or Mobile App.

I am willing to cut down all my costs now.

Just write to me via WhatsApp +254706745202 and I will surely surprise you with  a great offer.



× This has all Topics and discussions about Payment Processor Core Script Documentation

How to add Mpesa B2C payment gateway on your Payment gateway for withdrawals

  • Sir Brian M. W
  • Sir Brian M. W's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
3 months 2 weeks ago #378 by Sir Brian M. W
It is possible to allow your Payment processor users to withdraw money from their Wallet to Mpesa instantly.

To do this, you need to follow a few steps as follows:
1. Enable Lipa na Mpesa withdrawal method. Navigate as follows to do this:

Administration 1 >>> Payment methods >> Lipa na Mpesa ==> Edit ==> Set Withdrawal method as yes.

2. Now set all Mpesa B2C parameters and save. Navigate as follows:

Administration 2 >>> B2C Mpesa settings >> Edit Mpesa B2C parameters >> Add the details there as provided by Mpesa portal and Daraja portal.

Save your changes.

3. Create a cron job on your cpanel to run the following file:


Set this to run every 1 hour.

4. Now test your automatic withdrawals after you make sure your Mpesa Store number has some cash deposited.

You are done.

In case you have any specific question on this part, let me know via replies below and I will answer shortly.

Please Log in or Create an account to join the conversation.

Time to create page: 0.206 seconds
Powered by Kunena Forum