M-PESA INTEGRATION

Going Live - MPesa TILL Number/Paybill

Mpesa Integration - How to Go Live

Pre-requisites

Ensure you have access to:

The M-Pesa Web Portal either as a Business Manager or Administrator.                

The Safaricom Developer portal(Daraja)

Buy Goods(Till Number) Considerations

If you are using a Till Number instead of a Paybill, you will need the Store Number that you will use to go Live.

You will also need to create another user under the Store Number that you will use on Daraja.

To create a Business Manager profile:

Log in to M-Pesa Web Portal, As the Business Administrator through HO

Click Browse organization, click children to view the child stores, Select more to view the selected store details, Select operators then

Click add operators.

Enter operator details and assign Business Manager role

Use Web Operator Rule Profile and Web access channel

Going Live       

The process is as follows:

Login to your Daraja account and navigate to Go Live

Select 'Shortcode' as youqr validation method

Enter your Paybill(or Store Number if using Buy Goods)

Enter the username of a user with the Business Manager role(use the one created above if using Store Number)

Click Enter and wait for the One Time Password

Enter the OTP and wait for the confirmation

Switch accounts to your newly created company and copy the app credentials displayed and paste in the plugin settings

If you do not receive the online passkey in your email, write to apisupport@safaricom.co.ke and request for the same.

                    

C2B Confirmation and Validation URLs

Whenever M-Pesa receives a transaction on your shortcode, a validation request is sent to the validation URL registered above. M-Pesa completes or cancels the transaction depending on the validation response it receives. 

 These URLs must be HTTPS in production. Validation is an optional feature that needs to be activated on M-Pesa - the owner of the shortcode needs to make this request for activation. This can be done by sending an email to apisupport@safaricom.co.ke, or through a chat on the developer portal.

                

The plugin uses the following URLs for this purpose:

 ** We will provide the URLS at this stage**

                    

Production URLs        

After going live on Daraja you will receive an email from Safaricom with production URLs.

You don't need to take any action on this as the plugin will automatically update the URLs when live.

Did you find this article useful?