{% load i18n %} {% load eventurl %} {% if payment.state == "pending" %}
{% 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 %}
{% elif payment.state == "created" and payment_info.resultCode in "AuthenticationFinished,ChallengeShopper,IdentifyShopper,RedirectShopper" %}{% blocktrans trimmed %} You need to confirm your payment. Please click the link below to do so or start a new payment. {% endblocktrans %}
{% else %}{% blocktrans trimmed %}
The payment transaction could not be completed for the following reason:
{% endblocktrans %}
{% if payment_info and payment_info.refusalReason %}
{{ payment_info.refusalReason }}
{% elif payment_info and payment_info.reason %}
{{ payment_info.reason }}
{% elif payment_info and payment_info.scaError %}
{{ payment_info.scaError.name }}: {{ payment_info.scaError.message }}
{% else %}
{% trans "Unknown reason" %}
{% endif %}