Backend for the MPESA android sdk
Follow this short and easy tutorial to install Laravel on your server.
- Clone this project and upload it to your server's webroot
- Edit
.env
file to connect the project to your database. - Run
composer update
to initialize the project - Run the migrations:
php artisan migrate
- Configure Apache to point to the
/public
folder. Guide - If you are using Firebase to send push notifications, edit your
.env
file and add this lineFIREBASE_SERVER_KEY=YOUR_SERVER_KEY
- On the mobile app, call this method, replacing
url
with the link to the backendbuilder.setCallBackURL(http://url/mpesa)
- You are set.