{% extends "pretixcontrol/event/settings_base.html" %} {% load i18n %} {% load bootstrap3 %} {% block inside %}

{% trans "euPago" %}

{% blocktrans trimmed %} These settings are shared by all euPago payment methods (Multibanco and MB WAY). Each payment method can still be enabled or disabled individually under Settings → Payment. {% endblocktrans %}

{% if wrong_currency %}
{% blocktrans trimmed with currency=request.event.currency %} euPago only accepts payments in euros, but this event's currency is {{ currency }}. Multibanco and MB WAY won't be offered at checkout. {% endblocktrans %}
{% endif %} {% if sandbox_on_live_event %}
{% blocktrans trimmed %} Sandbox mode is on, but this event is not in test mode. Multibanco and MB WAY won't be offered at checkout until you turn sandbox mode off or put the event in test mode. {% endblocktrans %}
{% endif %}
{% csrf_token %} {% bootstrap_form_errors form %}
{% trans "API access" %} {% bootstrap_field form.eupago_api_key layout="horizontal" %} {% bootstrap_field form.eupago_sandbox layout="horizontal" %}
{% trans "Webhook" %} {% if missing_webhook_secret %}
{% blocktrans trimmed %} No webhook key is set. Webhook 2.0 notifications of completed payments and refunds are refused until you add it, so payments stay pending. {% endblocktrans %}
{% endif %}
{% blocktrans trimmed %} Paste this into euPago Backoffice → Channels → Channel Listing → Receive notification for a URL, and choose webhook 2.0. Payments are only confirmed in pretix once euPago notifies this URL. {% endblocktrans %}
{% bootstrap_field form.eupago_webhook_secret layout="horizontal" %}
{% endblock %}