Billing Information
{% if message %}
{{message}}
{% endif %}
{% if current_user.user_type == UserType.active_non_paying %}
You are currently using an unpaid
{{cfg("sr.ht", "site-name")}} account. Some site features may be
unavailable to your account.
{% elif current_user.user_type == UserType.active_free %}
Your account is exempt from billing. All features are
available to you free of charge. You may choose to set up billing
if you wish to support the site.
{% elif current_user.user_type == UserType.active_paying %}
{% if current_user.payment_cents == 0 %}
Your paid service has been cancelled. At the end of your current term,
{{current_user.payment_due | date}}, your account will be downgraded to a
non-paying account.
{% else %}
{% if invoices %}
Your account is paid and up-to-date, and your last
payment of {{"${:.2f}".format(invoices[0].cents/100)}}
was made {{invoices[0].created | date}}. Your current
{{current_user.payment_interval.value}} payment is
{{"${:.2f}".format(current_user.payment_cents/100
if current_user.payment_interval.value == "monthly"
else current_user.payment_cents*10/100)}} and will be billed
{{invoices[0].valid_thru | date}}.
{% else %}
Your account is paid and up-to-date. Your
current {{current_user.payment_interval.value}} payment is
{{"${:.2f}".format(current_user.payment_cents/100
if current_user.payment_interval.value == "monthly"
else current_user.payment_cents*10/100)}}.
{% endif %}
{% endif %}
{% elif current_user.user_type == UserType.active_delinquent %}
Notice: Your payment is past due. Please check that your
payment information is correct or your service may be impacted.
{% elif current_user.user_type == UserType.admin %}
Admins are exempt from billing.
{% endif %}
{{paid_pct}}% paid
13.37%
of {{total_users}} registered users
Current number of paid accounts on {{cfg("sr.ht", "site-name")}}