mpesa-php-sdk icon indicating copy to clipboard operation
mpesa-php-sdk copied to clipboard

A PHP sdk for the new Mpesa RESTful APIs

Results 29 mpesa-php-sdk issues
Sort by recently updated
recently updated
newest added

{"status":"error","message":"The element AccountReference is invalid.","data":"20"}; Status code: 400 [] {"uid":"021d69b"} Can't figure out the issue

I am interacting with lipa na M-pesa online endpoint, https://sandbox.safaricom.co.ke/mpesa/stkpush/v1/processrequest. I am experiencing an issues where sometimes I get response at my callback url but sometime there is no response...

Warning: include_once(../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/mpesa/src/Mpesa.php on line 10 I get this error message whenever I am trying to use your PHP SDK....

When checking the status of a Lipa Na M-Pesa Online Payment, I get Bad Request - Invalid timestap.

Formatted readme file with a few additions

- [x] Removes environment parameter on stkPushQuery function as the parameter is not required.

I am new to PHP API intergration.How do I prepare an interface for the check out of this API. And how do I organise my database to suit the needs...

When using this SDK inside a laravel project, the package fails to read the **env** variables if you run the **config:cache** command. It's only able to pick the MPESA secret...

Hi! good work on this however, there's a slight issue with how you get the env variables in the Mpesa class. Once the config is cached, via config:cache, the .env...

I wrote a new function to generate the securitycredential for the user. They now have to declare two more environment variables; MPESA_PASSWORD and MPESA_PUBLICKEYPATH which is used to generate the...