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 configure the shared euPago settings under Settings → Payment → euPago:

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

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

Both are shared by every euPago payment method, so you only set them once. Then enable and configure each payment method you want individually under Settings → Payment:

  • Multibanco — has no method-specific settings besides the reference validity:

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

  • MB WAY — no method-specific settings.

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.1.tar.gz (17.8 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.1-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pretix_eupago-1.0.1.tar.gz
  • Upload date:
  • Size: 17.8 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.1.tar.gz
Algorithm Hash digest
SHA256 6b2edae29c57e45c5393d73c2f16819020bc7dbe1d755c66548fa149d51e6e62
MD5 fd146f18a0ea0f66154ef40ea3d2c242
BLAKE2b-256 da89ce96ef752990345eb912b89d25487057a4cd88a9cde3000e8fb1fde2d4aa

See more details on using hashes here.

Provenance

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

Publisher: ci.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.1-py3-none-any.whl.

File metadata

  • Download URL: pretix_eupago-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 18.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 91ab40079fd89ed691b45370943469c3d282864ade80e4fc183e0d58c3af5f96
MD5 f239942a0222229bddf8849dbe064162
BLAKE2b-256 6f8dab7fa465e01003b8d0b582af52e4afb92f125a768daa3802e08a0b1f738b

See more details on using hashes here.

Provenance

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

Publisher: ci.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