Skip to main content

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

  1. Add “myblog” to INSTALLED_APPS:

INSTALLED_APPS = {

‘mpesaApp’

}

  1. Include the myblog URLconf in urls.py:

    path(‘payment/’, include(‘mpesaApp.urls’)),

  2. Run python manage.py migrate to create DJango mpesa’s models.

  3. Run the development server and access http://127.0.0.1:8000/admin/ to

    manage setup and add all your payment details.

  4. 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 details)

Uploaded Source

File details

Details for the file DjangoMpesa-1.tar.gz.

File metadata

  • Download URL: DjangoMpesa-1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.0 CPython/3.7.5

File hashes

Hashes for DjangoMpesa-1.tar.gz
Algorithm Hash digest
SHA256 0407c88ea2e40ce89bbae0796e949196d153db0e12ee17cde0527e834e50d1f0
MD5 127639bc2c9e509535929892e4de39bb
BLAKE2b-256 273440b88dbc190a00642426f97ebe0ea5ca8e8f4df21b10bc76abd877db3fcf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page