{% load i18n %} {% if payment_info %}
{% if "id" in payment_info %}
{% trans "Payment ID" %}
{{ payment_info.id }}
{% endif %} {% if "status" in payment_info %}
{% trans "Status" %}
{{ payment_info.status.description }} ({{ payment_info.status.code }})
{% trans "Date" %}
{{ payment_info.status.created_at }}
{% endif %} {% if "consent" in payment_info %}
{% trans "Consent" %}
 
{% trans "ID" %}
{{ payment_info.consent.id }}
{% trans "Status" %}
{{ payment_info.consent.status.description }} ({{ payment_info.consent.status.code }})
{% trans "Date" %}
{{ payment_info.consent.createdAt }}
{% endif %} {% if "authorizations" in payment_info %} {% for authorization in payment_info.authorizations %}
{% trans "Authorization" %}
 
{% trans "ID" %}
{{ authorization.id }}
{% trans "Status" %}
{{ authorization.status.description }} ({{ authorization.status.code }})
{% trans "Date" %}
{{ authorization.createdAt }}
{% endfor %} {% endif %} {% if "captures" in payment_info %} {% for capture in payment_info.captures %}
{% trans "Capture" %}
 
{% trans "ID" %}
{{ capture.id }}
{% trans "Status" %}
{{ capture.status.description }} ({{ capture.status.code }})
{% trans "Date" %}
{{ capture.createdAt }}
{% endfor %} {% endif %} {% if "refunds" in payment_info %} {% for refund in payment_info.refunds %}
{% trans "Refund" %}
 
{% trans "ID" %}
{{ refund.id }}
{% trans "Status" %}
{{ refund.status.description }} ({{ refund.status.code }})
{% trans "Date" %}
{{ refund.createdAt }}
{% endfor %} {% endif %}
{% endif %}