DjangoMpesa
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’, ‘django_celery_beat’, ‘rest_framework’
}
- Include the mpesaApp URLconf in urls.py:
path(‘payment/’, include(‘mpesaApp.urls’)),
Run python manage.py migrate to create mpesaApp models and django_celery_beat’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.
Metadata
Release files for DjangoMpesa 2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| DjangoMpesa-2.2.tar.gz | 7.9 kB | Without provenance | Details for DjangoMpesa-2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| DjangoMpesa-2.2-py3-none-any.whl | Python 3 | none | any | Details for DjangoMpesa-2.2-py3-none-any.whl |
Total release size: 18.3 kB
Release files / DjangoMpesa-2.2.tar.gz
| Download URL | DjangoMpesa-2.2.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
87e4a553305595d97ea785206de816f1c8bf30f4ad18d00d696b5c87406a1bbc
|
|
BLAKE2b-256 checksum How to use checksums |
036b00bc29577868192525121ef10ce227a51f93bb3cc8e591908074a69917c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Release files / DjangoMpesa-2.2-py3-none-any.whl
| Download URL | DjangoMpesa-2.2-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
510e1d553da2e792c127d410a2ad14223a3f7aee0d7d2dab687b9baffcf59166
|
|
BLAKE2b-256 checksum How to use checksums |
bbf62a603ef4f97d0fcc1ef0a09c752a910cea4e18b24be38235ac4efc0300ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Security for DjangoMpesa 2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.