This is a plugin for pretix. to allow the use of Brazilian Pix payment method integrated with an OpenPix account.
You must have an active OpenPix account to be able to receive payments with this plugin
- 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 a pre-commit hook configuration that checks and enforces some code style rules. To install it locally, you need to install pre-commit package and install the hooks:
pip install pre-commit pre-commit install
To check manually for rule violations, run:
pre-commit run -a
When you have these hooks installed, you will not be allowed to commit code that doesn't follow the rules.
These rules are also enforced in CI.
To create a new release you need to have bumpver installed:
pip install bumpver
The projet is versioned using the pattern major.minor.patch (--major, --minor and --patch). Use the desired flag before running it:
bumpver update --minor
This command will update all version references, commit it and create a tag for that release. You can use --dry to check what will be updated without commiting it.
Copyright 2025 Renne Rocha
Released under the terms of the AGPL