{% load i18n %} {% if payment_info %}
{% if "id" in payment_info %}
{% trans "ID" %}
{{ payment_info.id }}
{% endif %} {% if "hostedCheckoutId" in payment_info %}
{% trans "Hosted Checkout ID" %}
{{ payment_info.hostedCheckoutId }}
{% endif %} {% if "paymentMethod" in payment_info.paymentOutput %}
{% trans "Payment Method" %}
{{ payment_info.paymentOutput.paymentMethod }}
{% endif %} {% if "merchantReference" in payment_info.paymentOutput.references %}
{% trans "Merchant Reference" %}
{{ payment_info.paymentOutput.references.merchantReference }}
{% endif %} {% if "status" in payment_info %}
{% trans "Status" %}
{{ payment_info.status }} ({{ payment_info.statusOutput.statusCode }})
{% endif %} {% for error in payment_info.statusOutput.errors %}
{% trans "Error" %}
{{ error.errorCode }} ({{ error.category }}): {{ error.id }} - {{ error.message }}
{% endfor %}
{% endif %}