How to integrate Mpesa into website - Introduction

Encrypting your link and protect the link from viruses, malware, thief, etc! Made your link safe to visit.

ads

M-PESA is a mobile money transfer service introduced by Safaricom in 2007. M-PESA allows users to deposit, withdraw, pay for goods and services using Lipa Na M-PESA(which we are going to cover) and much more. A couple of months back, Safaricom introduced the Daraja API(Daraja meaning bridge in Swahili) as a way to bridge the gap with developers who had a difficult time with the G2 API which used a SOAP protocol. Lipa Na M-PESA Online API The Lipa Na M-PESA Online API is an API that utilizes STK Push for C2B. This eliminates the previous inconvenience of having to remember paybill or till numbers as this is handled on the backend leaving the customer to only input the M-PESA PIN number. M-PESA automatically processes the request and sends the response back to the API which then forwards it to the callback URL provided. Also, to avoid phishing, I suggest that you at least complete one of 5 consecutive STK push requests in order for your line not to be blocked from accessing the API for 24hrs. I will demonstrate the integration of this API in this post step by step, I urge you to follow through promptly as this is a lengthy but simple process.

Comment

Post a Comment

Weka COMMENT Yako Hapa

ads