Django app consuming M-Pesa APIs
Mpesapy is a simple Django app that has been integrated with M-Pesa API.
Detailed documentation is in the “docs” directory.
Add “mpesapy” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = ( ... 'mpesapy', )
Include the mpesapy URLconf in your project urls.py like this:
Run python manage.py migrate to create the mpesapy models.
Start the development server and visit http://127.0.0.1:8000/admin/ to see some of the M-Pesa transactions that have been pushed to you by Safaricom (you’ll need the Admin app enabled).
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Hash SHA256 Hash Help||Version||File Type||Upload Date|
(6.5 kB) Copy SHA256 Hash SHA256
|py2.py3||Wheel||Nov 3, 2015|
(5.0 kB) Copy SHA256 Hash SHA256
|–||Source||Nov 3, 2015|