a django app with mpesa express integration
Project description
An app that integrates Mpesa Express into Django.
Quick start
Add “express” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ "express", ]Update the config settings for Mpesa:
# Mpesa configurations MPESA_CONSUMER_SECRET= MPESA_ACCESS_TOKEN_URL= MPESA_CONSUMER_KEY= MPESA_SHORT_CODE= MPESA_STK_PUSH_URL= MPESA_API_KEY= MPESA_CALLBACK_URL= BASE_URL=
Include the express URLs in your project’s URLs like this:
url(r'^express/', include('express.urls')),Run the following command to create the express models:
python manage.py migrate
Start the development server and visit http://127.0.0.1:8000 to use the endpoints:
express/checkout
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-mpesa-express-0.1.tar.gz.
File metadata
- Download URL: django-mpesa-express-0.1.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f705e685b7ba07739b868c6f1aafc38fb0cf9da65246bb2f269f2c0c259696b6
|
|
| MD5 |
bf64594440ebfa80383de41fe4327092
|
|
| BLAKE2b-256 |
a0cbcd346682de9a18e182a44a9b51f6d6acc967bbd4c2c8c6aa5f7ac59c1aa8
|