Blog
David Mjomba
David Mjomba
Oct 2017
5 minutes read
How to use MPesa PHP Package version 3

How to use MPesa PHP Package version 3

The popular package SmoDav M-Pesa has been updated to use the current API provided by Safaricom. Being a major upgrade, this version will not be 100% backward compatible with version 2. So what are we waiting for, let's get started!

So far I've implemented the C2B section of the API by providing Register URL, Identity and STK Push. Just as the previous versions, this package works with both Laravel and ...

David Mjomba
David Mjomba
Oct 2017
4 minutes read
How to use MPesa PHP Package version 2

How to use MPesa PHP Package version 2

I created a good PHP package to interact with M-Pesa API. This package can be pulled in via composer or directly downloaded from github. The API allows a merchant to initiate C2B online checkout (PayBill via web) transactions. The merchant submits authentication details, transaction details, callback URI and callback method. After request submission, the merchant receives instant feedback with validity status of their requests. The C2B API handles customer validation and authentication via USSD push.

Powered by SmoDav Productions