{% extends 'base.html' %} {% load static %} {% block title %}Payment Successful - 3ncount{% endblock %} {% block page_pretitle %}Payment{% endblock %} {% block page_title %}Payment Successful!{% endblock %} {% block content %}

Payment Successful!

Your payment has been processed successfully.

{% if session_id %}
Transaction ID:
{{ session_id }}
{% endif %}
{% if invoice %}

Invoice Details

Invoice Number:
{{ invoice.invoice_number }}
Date:
{{ invoice.invoice_date|date:"d M Y" }}
Amount:
{{ invoice.currency }} {{ invoice.total_amount|floatformat:2 }}
Status:
{{ invoice.get_status_display }}
{% if invoice.line_items %}

Items

{% for item in invoice.line_items %}
{{ item.description }}
{{ invoice.currency }} {{ item.amount }}
{% endfor %} {% endif %}
{% endif %} {% if credit_balance %}

Your New Credit Balance

{{ credit_balance.balance|floatformat:0 }}

AI Credits Available

{% endif %}

What Happens Next?

{% if invoice.status == 'PAID' %} Your credits have been added to your account and are ready to use immediately! {% else %} Your payment is being processed. Credits will be added to your account within a few minutes. You'll receive an email confirmation once the credits are available. {% endif %}

{% if invoice.status != 'PAID' %}

Note: If your credits don't appear within 10 minutes, please contact support with your transaction ID: {{ session_id }}

{% endif %}
{% endblock %}