A simple Django app for integrating mpesa stk push payment to your django site.
Project description
Django mpesa is a simple re-usable of Django’s application for mpesa STK push payment, that can be easily intergrated to any django powered site.
Quick start
Add “myblog” to INSTALLED_APPS:
INSTALLED_APPS = {
‘mpesaApp’
}
- Include the myblog 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.tar.gz
(4.0 kB
view hashes)