{% load i18n %} {% load bootstrap3 %} {% if payment.state == "failed" %}
{% if "reason" in payment_info and "message" in payment_info.reason %} {% blocktrans trimmed with reason=payment_info.reason.message %} Your payment failed for the following reason: {{ reason }} {% endblocktrans %} {% elif "reason" in payment_info %} {% blocktrans trimmed with reason=payment_info.reason %} Your payment failed for the following reason: {{ reason }} {% endblocktrans %} {% else %} {% blocktrans trimmed with reason=payment_info.reason %} Your payment failed. {% endblocktrans %} {% endif %}
{% elif payment.state == "pending" %}{% blocktrans trimmed %} Please approve the payment on your mobile device. Then, reload this page. It may take a few minutes until your order shows up as paid. You will also receive an email once we received the payment. {% endblocktrans %}
{% endif %}