{% extends "base.html" %} {% block content %}

Billing & Payments

Wallet Balance
{{ currency_symbol }}{{ wallet.balance }}
All subscription renewals and payments are automatically charged from your wallet first.
Manage Wallet
{% if success %}
{{ success }}
{% endif %} {% if error %}
{{ error }}
{% endif %}

Payment Methods

{% if payment_methods and payment_methods|length > 0 %}
{% for method in payment_methods %}
{% if method.type == 'paypal' %} {% elif method.type == 'stripe' %} {% elif method.type == 'bitcoin' %} {% elif method.type == 'ethereum' or method.type == 'eth' %} {% elif method.type == 'usdt' %} {% elif method.type == 'usdc' %} {% else %} {% endif %}
{{ method.type|title }}
{% if method.last4 %} **** **** **** {{ method.last4 }} {% else %} {{ method.email if method.email else method.address }} {% endif %}
{% if method.is_default %} Default {% endif %}
{% if not method.is_default %} {% endif %}
{% endfor %}
{% else %}

No payment methods configured

Add a credit card to enable automatic subscription renewals.

{% if 'stripe' in enabled_gateways %} {% endif %}
{% endif %}
{% if 'stripe' in enabled_gateways %} {% endif %} Top Up Wallet

Billing History

{% if transactions and transactions|length > 0 %}
{% for tx in transactions %} {% endfor %}
Date Description Amount Method Status Actions
{{ tx.created_at.split(' ')[0] if tx.created_at else '' }}
{{ tx.created_at.split(' ')[1] if tx.created_at else '' }}
{% if tx.description %} {{ tx.description }} {% else %} Plan Payment {% endif %}
{% if tx.plan_name %} {{ tx.plan_name }} {% endif %}
{% if tx.currency_symbol %} {{ tx.currency_symbol }} {% else %} $ {% endif %} {{ tx.amount }} {% if tx.payment_method == 'paypal' %}
PayPal {% elif tx.payment_method == 'stripe' %}
Credit Card {% elif tx.payment_method == 'bitcoin' %}
Bitcoin {% elif tx.payment_method == 'eth' or tx.payment_method == 'ethereum' %}
Ethereum {% elif tx.payment_method == 'usdt' %}
USDT {% elif tx.payment_method == 'usdc' %}
USDC {% else %}
{{ tx.payment_method|title }} {% endif %}
{% if tx.status == 'completed' %} ✓ Completed {% elif tx.status == 'pending' %} ⏳ Pending {% elif tx.status == 'failed' %} ✗ Failed {% elif tx.status == 'refunded' %} ↩ Refunded {% else %} {{ tx.status|title }} {% endif %} {% if tx.invoice_id %} Invoice {% endif %}
{% if transactions|length > 10 %}
{% endif %} {% else %}

No billing history yet

You don't have any payment transactions on your account.

Upgrade your plan to get started!

View Plans & Pricing
{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}