/laravel-mpesa-example

Sample laravel Project with Mpesa Implementation for my students

Primary LanguagePHP

About this project

This is a laravel project that I implemented for those following my series on youtube

You are free to tinker with the project as you please.

License

The Laravel framework is open-sourced software licensed under the MIT license.

Sample .env config

SHORT_CODE=123456
LIPA_NA_MPESA_SHORT_CODE=654321
VALIDATION_KEY=some-secure-key
CONFIRMATION_KEY=some-secure-key
CONSUMER_SECRET=from-daraja
CONSUMER_KEY=from-daraja
LIPA_NA_MPESA_ONLINE_PASS_KEY=from-daraja

PROD_SHORT_CODE=123456
PROD_LIPA_NA_MPESA_SHORT_CODE=654321
PROD_VALIDATION_KEY=some-secure-key
PROD_CONFIRMATION_KEY=some-secure-key
PROD_CONSUMER_SECRET=from-daraja
PROD_CONSUMER_KEY=from-daraja
PROD_LIPA_NA_MPESA_ONLINE_PASS_KEY=from-daraja