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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for DjangoMpesa-1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9840a708a86b3c9ac90b56fb23f755c0011b6d0863e80c8728a6e8fbb6fdcbb9 |
|
MD5 | da69d04f77c4e739d9650d4a50cc77f2 |
|
BLAKE2b-256 | b324686e3cf8e2742eae2556f4c4418e9aeccb8fc8178b6a20ec1f200fff8fd2 |