{% extends 'base/base.html' %} {% load static %} {% block title %}Plan Change Successful{% endblock %} {% block content %}

Plan Change Successful!

{% if plan_change_success %}

Your subscription plan has been updated

{% else %}

Your payment has been processed

{% endif %}
{% if error %}

Notice: {{ error }}

Your payment was successful, but there may have been a processing delay. Your plan change should be reflected in your account shortly.

{% endif %} {% if plan_change_success %}

Plan Change Details

Previous Plan

{{ old_plan }}

{% if change_type == 'upgrade' %} {% else %} {% endif %}

New Plan

{{ new_plan }}

{% if amount_charged > 0 %}

Amount Charged: {{ currency }} ${{ amount_charged|floatformat:2 }}

This charge covers your new plan and any prorated difference.

{% endif %}

Credit Information

{% if transferred_credits > 0 %}

Credits Transferred: {{ transferred_credits|floatformat:0 }} credits

Your remaining subscription credits have been converted to pay-as-you-go credits (never expire).

{% endif %}

New Plan Credits: {{ new_plan_credits|floatformat:0 }} credits

You now have {{ new_plan_credits|floatformat:0 }} monthly credits for your {{ new_plan }} plan.

What happens next?

  • Your new plan is active immediately
  • You'll be billed monthly for your {{ new_plan }} plan
  • {% if transferred_credits > 0 %}
  • Your {{ transferred_credits|floatformat:0 }} transferred credits are available as pay-as-you-go credits
  • {% endif %}
  • Your {{ new_plan_credits|floatformat:0 }} monthly credits will renew each billing cycle
{% else %}

Payment Processed

Your payment has been successfully processed. Your plan change is being updated and should be reflected in your account shortly.

{% if session_data %}

Session ID: {{ session_data.id }}

{% if session_data.amount_total %}

Amount: {{ session_data.currency|upper }} ${{ session_data.amount_total|floatformat:2 }}

{% endif %}
{% endif %}
{% endif %} {% if debug_info and user.is_staff %}
Debug Information (Staff Only)

Session Mode: {{ debug_info.session_mode }}

Payment Status: {{ debug_info.payment_status }}

Subscription ID: {{ debug_info.subscription_id }}

Metadata:

{{ debug_info.metadata|dictsort:0.0 }}
{% endif %}
{% endblock %}