2018-07-03 16:42:53 +02:00
|
|
|
|
{% extends "zerver/portico.html" %}
|
2018-03-31 04:13:44 +02:00
|
|
|
|
|
2018-11-29 08:51:53 +01:00
|
|
|
|
{% block page_params %}
|
|
|
|
|
{# Insert parameters, which have been encoded with JSONEncoderForHTML. #}
|
|
|
|
|
<script>
|
|
|
|
|
{% autoescape off %}
|
|
|
|
|
var page_params = {{ page_params }};
|
|
|
|
|
{% endautoescape %}
|
|
|
|
|
</script>
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
2018-03-31 04:13:44 +02:00
|
|
|
|
{% block customhead %}
|
2018-07-03 16:42:53 +02:00
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
{{ render_bundle('landing-page') }}
|
2018-09-06 10:14:24 +02:00
|
|
|
|
{{ render_bundle('billing') }}
|
2018-03-31 04:13:44 +02:00
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
2018-11-29 08:51:53 +01:00
|
|
|
|
|
2018-03-31 04:13:44 +02:00
|
|
|
|
<div class="app portico-page">
|
|
|
|
|
|
2018-07-03 16:42:53 +02:00
|
|
|
|
{% include 'zerver/billing_nav.html' %}
|
|
|
|
|
|
2018-03-31 04:13:44 +02:00
|
|
|
|
{{ render_bundle('translations') }}
|
|
|
|
|
|
2018-07-03 16:42:53 +02:00
|
|
|
|
<div class="portico-landing billing-upgrade-page">
|
|
|
|
|
<div class="hero small-hero"></div>
|
|
|
|
|
|
|
|
|
|
<div class="page-content">
|
|
|
|
|
<div class="main">
|
2018-11-18 10:18:14 +01:00
|
|
|
|
<h1>{% trans %}Upgrade to {{ plan }}{% endtrans %}</h1>
|
2018-07-13 13:33:05 +02:00
|
|
|
|
{% if error_message %}
|
2018-11-18 10:18:14 +01:00
|
|
|
|
<div class="alert alert-danger" id="upgrade-error-message-box">
|
2018-07-13 13:33:05 +02:00
|
|
|
|
{{ error_message }}
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
2018-11-18 10:18:14 +01:00
|
|
|
|
|
|
|
|
|
<ul class="nav nav-tabs" id="upgrade-tabs">
|
|
|
|
|
<li class="active"><a data-toggle="tab" href="#autopay">Pay automatically</a></li>
|
|
|
|
|
<li><a data-toggle="tab" href="#invoice">Pay by invoice</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
<div class="tab-content">
|
|
|
|
|
<div class="tab-pane active" id="autopay">
|
|
|
|
|
<form method="post">
|
|
|
|
|
{{ csrf_input }}
|
|
|
|
|
<input type="hidden" name="seat_count" value="{{ seat_count }}">
|
|
|
|
|
<input type="hidden" name="signed_seat_count" value="{{ signed_seat_count }}">
|
|
|
|
|
<input type="hidden" name="salt" value="{{ salt }}">
|
|
|
|
|
<input type="hidden" name="billing_modality" value="charge_automatically">
|
|
|
|
|
<div class="payment-schedule">
|
|
|
|
|
<h3>{{ _("Payment schedule") }}</h3>
|
|
|
|
|
<label>
|
2018-11-29 08:51:53 +01:00
|
|
|
|
<input type="radio" name="plan" value="{{ nickname_annual }}" checked />
|
2018-11-18 10:18:14 +01:00
|
|
|
|
<div class="box">
|
|
|
|
|
<div class="schedule-time annually">{{ _("Pay annually") }}</div>
|
|
|
|
|
<div class="schedule-amount">
|
2018-11-29 08:51:53 +01:00
|
|
|
|
$<span id="autopay_annual_price_per_month"></span>/user/month
|
2018-11-18 10:18:14 +01:00
|
|
|
|
<div class="schedule-amount-2">
|
2018-11-29 08:51:53 +01:00
|
|
|
|
($<span id="autopay_annual_price"></span>/user/year)
|
2018-11-18 10:18:14 +01:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</label>
|
|
|
|
|
<label>
|
2018-11-29 08:51:53 +01:00
|
|
|
|
<input type="radio" name="plan" value="{{ nickname_monthly }}" />
|
2018-11-18 10:18:14 +01:00
|
|
|
|
<div class="box">
|
|
|
|
|
<div class="schedule-time">{{ _("Pay monthly") }}</div>
|
2018-11-29 08:51:53 +01:00
|
|
|
|
<div class="schedule-amount">$<span id="autopay_monthly_price"></span>/user/month</div>
|
2018-07-03 16:42:53 +02:00
|
|
|
|
</div>
|
2018-11-18 10:18:14 +01:00
|
|
|
|
</label>
|
2018-07-03 16:42:53 +02:00
|
|
|
|
</div>
|
2018-11-18 10:18:14 +01:00
|
|
|
|
<p>
|
|
|
|
|
You’ll initially be charged
|
2018-11-25 22:43:45 +01:00
|
|
|
|
<b>$<span id="charged_amount"></span></b>
|
2018-11-25 01:06:49 +01:00
|
|
|
|
for <b>{{ seat_count }}</b> users. We’ll automatically charge you
|
|
|
|
|
when new users are added, and give you credit when users are deactivated.
|
2018-11-18 10:18:14 +01:00
|
|
|
|
</p>
|
|
|
|
|
<script src="https://checkout.stripe.com/checkout.js" class="stripe-button"
|
|
|
|
|
data-key="{{ publishable_key }}"
|
|
|
|
|
data-image="/static/images/logo/zulip-icon-128x128.png"
|
|
|
|
|
data-name="Zulip"
|
|
|
|
|
data-description="Zulip Cloud Standard"
|
|
|
|
|
data-locale="auto"
|
|
|
|
|
data-zip-code="true"
|
|
|
|
|
data-billing-address="true"
|
|
|
|
|
data-panel-label="Make payment"
|
|
|
|
|
data-email="{{ email }}"
|
|
|
|
|
data-label="{{ _('Add card') }}"
|
|
|
|
|
data-allow-remember-me="false"
|
|
|
|
|
>
|
|
|
|
|
</script>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="tab-pane" id="invoice">
|
|
|
|
|
<form method="post">
|
|
|
|
|
{{ csrf_input }}
|
|
|
|
|
<input type="hidden" name="signed_seat_count" value="{{ signed_seat_count }}">
|
|
|
|
|
<input type="hidden" name="salt" value="{{ salt }}">
|
|
|
|
|
<input type="hidden" name="billing_modality" value="send_invoice">
|
|
|
|
|
<div class="payment-schedule">
|
|
|
|
|
<h3>{{ _("Payment schedule") }}</h3>
|
|
|
|
|
<label>
|
2018-11-29 08:51:53 +01:00
|
|
|
|
<input type="radio" name="plan" value="{{ nickname_annual }}" checked />
|
2018-11-18 10:18:14 +01:00
|
|
|
|
<div class="box">
|
|
|
|
|
<div class="schedule-time annually">{{ _("Pay annually") }}</div>
|
|
|
|
|
<div class="schedule-amount">
|
2018-11-29 08:51:53 +01:00
|
|
|
|
$<span id="invoice_annual_price_per_month"></span>/user/month
|
2018-11-18 10:18:14 +01:00
|
|
|
|
<div class="schedule-amount-2">
|
2018-11-29 08:51:53 +01:00
|
|
|
|
($<span id="invoice_annual_price"></span>/user/year)
|
2018-11-18 10:18:14 +01:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</label>
|
2018-07-03 16:42:53 +02:00
|
|
|
|
</div>
|
2018-11-18 10:18:14 +01:00
|
|
|
|
<p>
|
2018-11-25 01:06:49 +01:00
|
|
|
|
Tell us ahead of time how many users you're planning for. We'll email you an
|
|
|
|
|
invoice in 1-2 hours. Invoices can be paid by ACH transfer or credit card.
|
2018-11-18 10:18:14 +01:00
|
|
|
|
</p>
|
2018-11-25 01:06:49 +01:00
|
|
|
|
<h4>Number of users (minimum {{ min_seat_count_for_invoice }})</h4>
|
|
|
|
|
<input type="text" id="invoiced_seat_count" name="invoiced_seat_count" value=""/><br>
|
2018-11-18 10:18:14 +01:00
|
|
|
|
<button type="submit" class="stripe-button-el invoice-button">Buy Standard</button>
|
|
|
|
|
</form>
|
2018-07-03 16:42:53 +02:00
|
|
|
|
</div>
|
2018-11-18 10:18:14 +01:00
|
|
|
|
</div>
|
|
|
|
|
<div class="support-link">
|
2018-10-23 21:06:15 +02:00
|
|
|
|
<p>
|
2018-11-18 10:18:14 +01:00
|
|
|
|
We're happy to help!
|
|
|
|
|
Contact <a href="mailto:support@zulipchat.com">support@zulipchat.com</a>
|
|
|
|
|
for any billing-related questions.
|
2018-10-23 21:06:15 +02:00
|
|
|
|
</p>
|
2018-11-18 10:18:14 +01:00
|
|
|
|
</div>
|
2018-03-31 04:13:44 +02:00
|
|
|
|
</div>
|
2018-07-03 16:42:53 +02:00
|
|
|
|
</div>
|
2018-03-31 04:13:44 +02:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{% endblock %}
|