{% load i18n %} {% load eventurl %} {% load money %} {% if payment.state == "pending" %} {% if payment_info.next_action.type == "multibanco_display_details" %}

{% trans "Payment instructions" %}:

  1. {% blocktrans trimmed %} In your online bank account or from an ATM, choose "Payment and other services". {% endblocktrans %}
  2. {% blocktrans trimmed %} Click "Payments of services/shopping". {% endblocktrans %}
  3. {% blocktrans trimmed %} Enter the entity number, reference number, and amount. {% endblocktrans %}
{% trans "Entity number:" %}
{{ payment_info.next_action.multibanco_display_details.entity }}

{% trans "Reference number:" %}
{{ payment_info.next_action.multibanco_display_details.reference }}

{% trans "Amount:" %}
{{ payment.amount|money:event.currency }}

{% trans "There is no further action required on this website." %} {% trans "We will send you an email as soon as we received your payment." %}

{% else %}

{% blocktrans trimmed %} We're waiting for an answer from the payment provider regarding your payment. Please contact us if this takes more than a few days. {% endblocktrans %}

{% endif %} {% elif payment.state == "created" and payment_info.status == "requires_action" %}

{% blocktrans trimmed %} You need to confirm your payment. Please click the link below to do so or start a new payment. {% endblocktrans %}

{% trans "Confirm payment" %}

{% elif payment.state == "created" and payment.provider == "stripe_wechatpay" %}

{% blocktrans trimmed %} Please scan the barcode below to complete your WeChat payment. Once you have completed your payment, you can refresh this page. {% endblocktrans %}

{% else %}

{% blocktrans trimmed %} The payment transaction could not be completed for the following reason: {% endblocktrans %}
{% if payment_info and payment_info.error %} {{ payment_info.message }} {% else %} {% trans "Unknown reason" %} {% endif %}

{% endif %}