Skip to main content

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.

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.

Release history Release notifications | RSS feed

2.2

2 files

2.1

2 files

2.0

2 files

1.4

2 files

1.3

2 files

1.2

1 file

1.1

2 files

This release

1 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page