{% extends "base.html" %} {% block title %}Subscription Success - {{ project_name }}{% endblock %} {% block content %}

Subscription Activated!

Welcome to your new monthly plan

Your subscription is now active!

{% if session_data %}

Subscription Details:

{% if session_data.metadata.credit_amount %}

Monthly Credits: {{ session_data.metadata.credit_amount }} credits

{% endif %}

Session ID: {{ session_data.id }}

Monthly Price: ${{ session_data.amount_total|floatformat:2 }}

{% endif %} {% if debug_info %}

Debug Information:

Session Mode: {{ debug_info.session_mode }}

Payment Status: {{ debug_info.payment_status }}

Subscription ID: {{ debug_info.subscription_id }}

Metadata: {{ debug_info.metadata }}

{% if subscription_created %}

✓ Subscription created in success view

{% endif %} {% if subscription_found %}

✓ Subscription found (already exists)

{% endif %} {% if subscription_error %}

✗ Subscription error: {{ subscription_error }}

{% endif %}
{% endif %}

What happens next?

Credits Allocated

Your monthly credits have been added to your account and are ready to use.

Monthly Billing

You'll be charged monthly and receive fresh credits each billing period.

Manage Anytime

You can view your subscription details and cancel anytime from your dashboard.

Important: Subscription credits expire at the end of each billing period. Any unused credits will not roll over to the next month.

{% if error %}

Note: There was an issue retrieving your subscription details, but your subscription should be active. If you have any concerns, please contact support.

Error: {{ error }}

{% endif %}
{% endblock %}