A python library that interfaces safaricoms mpesa apis
Project description
Django-Mpesa is a generic python library that interfaces the safaricom MPESA APIs to enable easy payments to your python application.
Detailed documentation is in the “docs” directory.
Quick start
Add “django-mpesa” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'django-mpesa', ]
Include the polls URLconf in your project urls.py like this:
from django.urls import path, include from mpesa.urls import mpesa_urls path('mpesa/', include(mpesa_urls)),
Run python manage.py migrate to create the polls models.
Start the development server and visit http://127.0.0.1:8000/admin/
Visit http://127.0.0.1:8000/mpesa/ to checkout the library features.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-mpesa-1.3.tar.gz
(7.3 kB
view hashes)
Built Distribution
django_mpesa-1.3-py3-none-any.whl
(12.4 kB
view hashes)
Close
Hashes for django_mpesa-1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3efd0351542ec74ed60fae6a115d374fa2b89ca022e55e871a766b0cfe0ab8f |
|
MD5 | c27e1c8040c4a3cbac28372b30046927 |
|
BLAKE2b-256 | f2b95ad3b2e9bd455d7fc1998a6c9bb184430c96edb070fac0222ddbcff9e83c |