{% load i18n %} {% trans "Payment status" %}
{% if status == "success" %}

{% trans "Payment successful" %}

{% trans "Your wallet has been funded." %}

{% elif status == "failed" or status == "cancelled" %}

{% trans "Payment failed" %}

{{ transaction.failed_reason|default:_("The payment was not completed.") }}

{% elif transaction %}

{% trans "Payment processing" %}

{% trans "We are confirming your payment. Your wallet will be credited automatically." %}

{% else %}

{% trans "Payment not found" %}

{% endif %} {% if transaction %}
{% trans "Reference" %}
{{ transaction.reference }}
{% trans "Amount" %}
{{ transaction.amount }}
{% if transaction.balance_after %}
{% trans "Wallet balance" %}
{{ transaction.balance_after }}
{% endif %}
{% endif %}