{% extends "zerver/portico.html" %} {% set entrypoint = "billing" %} {% block title %} {{ _("Billing") }} | Zulip {% endblock %} {% block portico_content %}
{% if admin_access and has_active_plan %} {% if is_sponsorship_pending %}
This organization has requested sponsorship for a {% if sponsorship_plan_name == "Business" %} discounted {% endif %} {{ sponsorship_plan_name }} plan.
Contact Zulip support with any questions or updates.
{% endif %} {% if success_message %}
{% if legacy_remote_server_next_plan_name and "PLAN_NAME" in success_message %} Your organization will be upgraded to {{ legacy_remote_server_next_plan_name }} on {{ remote_server_legacy_plan_end_date }}. {% else %} {{ success_message.replace("PLAN_NAME", plan_name) }} {% endif %}
{% endif %}

Zulip {% if is_self_hosted_billing %} {% else %} Cloud {% endif %} billing for {{ org_name }}

{% if free_trial or downgrade_at_end_of_free_trial %} {{ plan_name }} (free trial) {% elif is_server_on_legacy_plan %} {{ plan_name.replace(" (legacy plan)", "") -}} (legacy plan) {% else %} {{ plan_name }} {% endif %}
{% if is_server_on_legacy_plan %}
This is a legacy plan that ends on {{ remote_server_legacy_plan_end_date }}.
{% endif %}
{% if downgrade_at_end_of_free_trial or downgrade_at_end_of_cycle or is_server_on_legacy_plan %}
{{ billing_frequency }}
{% elif switch_to_annual_at_end_of_cycle %}
Your plan will switch to annual billing on {{ renewal_date }}.
{%elif switch_to_monthly_at_end_of_cycle %}
Your plan will switch to monthly billing on {{ renewal_date }}.
{% else %} {% endif %}
{% if is_server_on_legacy_plan %} {% elif automanage_licenses %}
{{ licenses }} (managed automatically)
{% else %} {% if not (free_trial or downgrade_at_end_of_free_trial) %}
licenses ({{ seat_count }} in use)
{% endif %} {% if not (downgrade_at_end_of_cycle or downgrade_at_end_of_free_trial) %}
licenses ({{ seat_count }} in use)
{% endif %} {% endif %}
{{ payment_method }}
{% if charge_automatically %}
{% endif %}
{% if renewal_amount %} {% if downgrade_at_end_of_cycle %} {% if is_self_hosted_billing %} Your organization will be downgraded to Self-managed at the end of the current billing period ({{ renewal_date }}). You will lose access to the benefits of your current plan. For organizations with more than 10 users, this includes losing access to the Mobile Push Notification Service. {% else %} Your organization will be downgraded to Zulip Cloud Free at the end of the current billing period ({{ renewal_date }}). You will lose access to unlimited search history and other features of your current plan. {% endif %} {% elif downgrade_at_end_of_free_trial %} {% if is_self_hosted_billing %} Your organization will be downgraded to Self-managed at the end of the free trial ({{ renewal_date }}). You will lose access to the benefits of your current plan. For organizations with more than 10 users, this includes losing access to the Mobile Push Notification Service. {% else %} Your organization will be downgraded to Zulip Cloud Free at the end of the free trial ({{ renewal_date }}). You will lose access to unlimited search history and other features of your current plan. {% endif %} {% else %} {% if charge_automatically %} {% if is_server_on_legacy_plan %} Your plan will automatically upgrade to {{ legacy_remote_server_next_plan_name }} on {{ remote_server_legacy_plan_end_date }}. {% else %} Your plan will automatically renew on {{ renewal_date }}. {% endif %} {% else %} Your next invoice is due on {{ renewal_date }}. {% endif %}
{% if not fixed_price %}
${{ pre_discount_renewal_cents }} (${{ price_per_license }} x {{ licenses_at_next_renewal }} {{ 'user' if licenses_at_next_renewal == 1 else 'users' }} x {% if switch_to_annual_at_end_of_cycle %} 12 months {%- elif switch_to_monthly_at_end_of_cycle %} 1 month {%- else %} {{ "1 month" if billing_frequency == "Monthly" else "12 months" }} {%- endif -%}) {% if discounted_months_left != 0 %}
${{ flat_discount }}/month off ({{ discounted_months_left }} {{ "month" if discounted_months_left == 1 else "months" }} remaining) {% endif %} {% if discount_percent %}
Includes: {{ discount_percent }}% discount {% endif %}
{% endif %}

${{ renewal_amount }}

{% if not fixed_price and using_min_licenses_for_plan %} Minimum purchase for this plan: {{ min_licenses_for_plan }} licenses {% endif %} {% endif %} {% else %} Your plan ends on {{ renewal_date }}, and does not renew. {% endif %}
{% if free_trial and not downgrade_at_end_of_free_trial %}
{% elif downgrade_at_end_of_cycle or downgrade_at_end_of_free_trial %}
{% elif is_server_on_legacy_plan %}
{% else %}
{% endif %}
{% if free_trial %} {% elif downgrade_at_end_of_free_trial %} {% elif downgrade_at_end_of_cycle or is_server_on_legacy_plan %} {% else %} {% endif %}

{% else %}

Zulip Cloud billing for {{ org_name }}

You must be an organization owner or a billing administrator to view this page.

{% endif %}
{% endblock %}