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
Make sure that you have a working pretix development setup.
Clone this repository.
Activate the virtual environment you use for pretix development.
Execute python setup.py develop within this directory to register this application with pretix’s plugin registry.
Execute make within this directory to compile translations.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf91c387c0757672ee469edad4d0df1640e5b32e76670733f4a508fd3ee10bc3 |
|
MD5 | 9248545c1d185e501008546bf5539058 |
|
BLAKE2b-256 | e232af251b89b31f2bb5b13a3f5b2e907bb5976bc32af9bb9f1fc3af3c599ad6 |
File details
Details for the file pretix_mtn_momo-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: pretix_mtn_momo-1.0.0-py3-none-any.whl
- Upload date:
- Size: 19.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f034ac37c6b6cb7f2fb382d2b5805a852a7190a2541952a77dc563e32ca877e4 |
|
MD5 | b6d6ff5759b07527d17df9d22729b74f |
|
BLAKE2b-256 | 5f405e126494b73bf38ca32999e44ba06131ca64c6b3951ffaaaad5fae6fe679 |