Skip to main content

A plugin to allow payments through the M-Pesa mobile payment platform

Project description

This is a plugin for pretix.

A plugin to allow payments through the M-Pesa mobile payment platform

Dependencies (mpesa-sdk)

certifi==2018.1.18 chardet==5.1.* idna==2.6 pycryptodome==3.6 requests==2.28.1 urllib3==1.26.12

Development setup

  1. Make sure that you have a working pretix development setup.

  2. Clone this repository.

  3. Activate the virtual environment you use for pretix development.

  4. Execute python setup.py develop within this directory to register this application with pretix’s plugin registry.

  5. Execute make within this directory to compile translations.

  6. Restart your local pretix server. You can now use the plugin from this repository for your events by enabling it in the ‘plugins’ tab in the settings.

This plugin has CI set up to enforce a few code style rules. To check locally, you need these packages installed:

pip install flake8 isort black

To check your plugin for rule violations, run:

black --check .
isort -c .
flake8 .

You can auto-fix some of these issues by running:

isort .
black .

To automatically check for these issues before you commit, you can run .install-hooks.

License

Copyright 2023 Ivan Ruby

Released under the terms of the Apache License 2.0

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

pretix-mpesa-mz-1.4.2.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pretix_mpesa_mz-1.4.2-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file pretix-mpesa-mz-1.4.2.tar.gz.

File metadata

  • Download URL: pretix-mpesa-mz-1.4.2.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for pretix-mpesa-mz-1.4.2.tar.gz
Algorithm Hash digest
SHA256 a3b6de0fee5e3b552d762503f4375b047de2a6b74e15cd838f20c27d84cde822
MD5 bfbced1cf94fda42b30e5ce42b6838db
BLAKE2b-256 7d5f3ed2138a8b167962c11cb8ff7f75a7b1dcb69e21d150d48da4757da7a5b1

See more details on using hashes here.

File details

Details for the file pretix_mpesa_mz-1.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pretix_mpesa_mz-1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1c08887f366dfc7d57616bb16b2d399ce5c40a9d6a168fab67d3d569e5d6ec14
MD5 077a83dff4a722b6d66796f140f6a643
BLAKE2b-256 669bbd4fbd7e7fbbc244b6a5e3f6a637e7011e5063221b5e188c38b575b31145

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