{% load i18n %}

{% trans "Payment Failed" %}

{% blocktrans with name=user.first_name %}Hi {{ name }},{% endblocktrans %}

{% trans "Unfortunately, your recent installment payment could not be processed." %}

{% trans "Payment Details:" %}

{% blocktrans with num=payment.installment_number total=schedule.total_installments %} Installment: {{ num }} of {{ total }} {% endblocktrans %}
{% trans "Amount:" %} ${{ payment.amount|floatformat:2 }}
{% trans "Order #:" %} {{ order.id }}
{% trans "Error:" %} {{ error_message }}
{% trans "Attempt:" %} {{ retry_count }}/{{ max_retries }}

{% trans "What you can do:" %}

{% blocktrans %} We'll automatically retry this payment a few more times over the next few hours. If it continues to fail, you can manually retry or update your payment method from your account. {% endblocktrans %}

{% trans "Next Steps:" %}

{% trans "View Payment Schedule" %}

{% trans "Or update your payment method from your account dashboard." %}

{% trans "If you need help, please contact our support team." %}

{% trans "Best regards," %}
NexusMart Team