A simple Django app for integrating mpesa stk push payment to your django site.
Project description
Django mpesa is a simple re-usable Django application for mpesa STK push payment, that can be easily intergrated to any django powered site.
Quick start
Add “mpesaApp” to INSTALLED_APPS:
INSTALLED_APPS = {
‘mpesaApp’
}
- Include the mpesaApp URLconf in urls.py:
path(‘payment/’, include(‘mpesaApp.urls’)),
Run python manage.py migrate to create DJango mpesa’s models.
- Run the development server and access http://127.0.0.1:8000/admin/ to
manage setup and add all your payment details.
Access http://127.0.0.1:8000/payment/ to view a json result of payment.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
DjangoMpesa-1.1.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for DjangoMpesa-1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6462104aa843e9785f68837dbfd1c9eab225e432337804162ce20766012a557 |
|
MD5 | ef045bbbabc62531a64523bb545bb6d4 |
|
BLAKE2b-256 | b42408690baff85566f322f78c07d2c9964bafda23df2e59847065929987e344 |