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.3.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for DjangoMpesa-1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50f8ac2926f15202226386803f981ed7f43fdd84b10cdc86a7f56929a9e5782a |
|
MD5 | a3f51cd7b51cf1fe5d197533b430e6ad |
|
BLAKE2b-256 | 7617ca2a9bf2627b4e131c2581504da5113366ee737f74c26f247054d99df52c |