Skip to main content

Accept payments through MTN Mobile Money (MoMo), a popular payment method in a number of African countries.

Project description

This is a plugin for pretix.

Accept payments through MTN Mobile Money (MoMo), a popular payment method in a number of African countries.

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 pretix team

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-mtn-momo-1.0.0.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

pretix_mtn_momo-1.0.0-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file pretix-mtn-momo-1.0.0.tar.gz.

File metadata

  • Download URL: pretix-mtn-momo-1.0.0.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.9

File hashes

Hashes for pretix-mtn-momo-1.0.0.tar.gz
Algorithm Hash digest
SHA256 bf91c387c0757672ee469edad4d0df1640e5b32e76670733f4a508fd3ee10bc3
MD5 9248545c1d185e501008546bf5539058
BLAKE2b-256 e232af251b89b31f2bb5b13a3f5b2e907bb5976bc32af9bb9f1fc3af3c599ad6

See more details on using hashes here.

File details

Details for the file pretix_mtn_momo-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pretix_mtn_momo-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f034ac37c6b6cb7f2fb382d2b5805a852a7190a2541952a77dc563e32ca877e4
MD5 b6d6ff5759b07527d17df9d22729b74f
BLAKE2b-256 5f405e126494b73bf38ca32999e44ba06131ca64c6b3951ffaaaad5fae6fe679

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