Skip to main content

Django app consuming M-Pesa APIs

Project description

Mpesapy is a simple Django app that has been integrated with M-Pesa API.

Detailed documentation is in the “docs” directory.

Quick start

  1. Add “mpesapy” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = (
        ...
        'mpesapy',
    )
  2. Include the mpesapy URLconf in your project urls.py like this:

    url(r'^mpesapy/', include('mpesapy.urls')),
  3. Run python manage.py migrate to create the mpesapy models.

  4. Start the development server and visit http://127.0.0.1:8000/admin/ to see some of the M-Pesa transactions that have been pushed to you by Safaricom (you’ll need the Admin app enabled).

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

django-mpesapy-0.1.2.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

django_mpesapy-0.1.2-py2.py3-none-any.whl (6.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-mpesapy-0.1.2.tar.gz.

File metadata

File hashes

Hashes for django-mpesapy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7ceb55403df1dad23ef26c23f31fbedbdaeb1ba903cf373ccd71aff5d84f9924
MD5 09f6b319e69b99a8f7602fe61d9c9027
BLAKE2b-256 a7456cbc11fc4cd97ea440b9575cb4ae7cdcb0f029427e439220c1a10a38e611

See more details on using hashes here.

File details

Details for the file django_mpesapy-0.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_mpesapy-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7f3c5164d64b4d1899766f52739f847a8fd8977b3508e16f6829e4ba812f960d
MD5 56cf240008f84a9e4fd697cca4a608cf
BLAKE2b-256 e553ce01e6f7f1f07915ad5cdf1b17af55f87e4b6846ee272c0e2e6bef96177e

See more details on using hashes here.

Supported by

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