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.
|Filename, Size & Hash SHA256 Hash Help||File Type||Python Version||Upload Date|
(6.5 kB) Copy SHA256 Hash SHA256
|Wheel||py2.py3||Nov 4, 2015|
(5.1 kB) Copy SHA256 Hash SHA256
|Source||None||Nov 4, 2015|