Skip to main content

Accept Multibanco and MB WAY payments via euPago in pretix

Project description

This is a plugin for pretix that integrates euPago, a Portuguese payment gateway, to accept Multibanco references and MB WAY push payments.

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 (or pip install -e .) 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.

Configuration

Enable the plugin for an event, then go to the event’s payment settings and configure the desired provider(s) (Multibanco and/or MB WAY):

  • API Key — your euPago API key, found in Backoffice → Channels → Channel Listing.

  • Sandbox / Test mode — use the euPago sandbox environment for testing.

  • Multibanco reference validity (days) — how many days a generated Multibanco reference stays valid.

Finally, configure a single webhook URL in euPago’s Backoffice (Channels → Channel Listing → “Receive notification for a URL”), for every channel you use:

https://<your-pretix-domain>/eupago/webhook/

This URL is global (not event-scoped) and handles both euPago webhook formats (v1.0 GET and v2.0 POST).

License

Copyright 2026 Afonso Santos

Released under the terms of the Apache License 2.0, see the LICENSE file for details.

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_eupago-1.0.0.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

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

pretix_eupago-1.0.0-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file pretix_eupago-1.0.0.tar.gz.

File metadata

  • Download URL: pretix_eupago-1.0.0.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pretix_eupago-1.0.0.tar.gz
Algorithm Hash digest
SHA256 be641c2712493aee66c83f3a5aabbd4e8ec4fc470cff5a3d268aab301b759b66
MD5 88ec6d00dfa8b148acc58f0c3b76ba5b
BLAKE2b-256 cdc08948ad0c779836f7d60d3f77693fb91a7ab211e2c36dc88a9798db9d516b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pretix_eupago-1.0.0.tar.gz:

Publisher: publish.yml on afonsosantos/pretix-eupago

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: pretix_eupago-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pretix_eupago-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e76e3b527e68cb3eb272fc0e33a3ec250403e8c2e533df5e82a64c4882bf9e6e
MD5 e3a06aee4c8fbb4a9e5c0b1ef9699911
BLAKE2b-256 2ccc663fa1ebcf4d72de2b982043c726fa71c851560295d172c4c54b0cae4059

See more details on using hashes here.

Provenance

The following attestation bundles were made for pretix_eupago-1.0.0-py3-none-any.whl:

Publisher: publish.yml on afonsosantos/pretix-eupago

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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