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.4.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for DjangoMpesa-1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3938c6bbc1ab606520f76abef68c0849469a2231ee5c69af878cb70a0c8aa6a9 |
|
MD5 | 9f4fb7b14eb13489d6595eaa5a3b1486 |
|
BLAKE2b-256 | a80208c682e6876b4c01e7fb5ee954df50126a80f8b2483fd2fc3402bc4b196e |