{% extends 'dashboard/base.html' %} {% load static %} {% load humanize %} {% block title %}Subscribe to a Plan - Peza API{% endblock %} {% block breadcrumb %}Subscribe to a Plan{% endblock %} {% block content %}

Choose Your Plan

Select the perfect plan for your API needs

{% if current_plan %}
Current Plan
{{ current_plan.name }}
{% endif %}
{% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %} {% if not selected_plan %}
{% for plan in plans %}
{% if forloop.counter == 2 %}
Most Popular
{% elif forloop.counter == 3 %}
Best Value
{% endif %}

{{ plan.name }}

{{ plan.description }}

MWK {{ plan.price_monthly|floatformat:0|intcomma }} /month
  • {{ plan.requests_per_month|default:"Unlimited" }} requests/month
  • Full API access
  • Email support
  • {% if plan.price_monthly > 0 %}
  • Priority support
  • Advanced analytics
  • {% endif %}
Select Plan
{% endfor %}
{% if current_plan %}

Your Current Usage

Plan Limit
{{ current_plan.requests_per_month|intcomma }} requests
Used This Month
{{ current_usage|default:0|intcomma }} requests
{% endif %} {% else %}

Selected Plan

Complete your payment to activate

MWK {{ selected_plan.price_monthly|floatformat:0|intcomma }}
per month

{{ selected_plan.name }}

{{ selected_plan.description }}

Requests Limit
{{ selected_plan.requests_per_month|intcomma }}/month
Support Level
{% if selected_plan.price_monthly > 0 %}Priority{% else %}Standard{% endif %}

Complete Your Payment

{% csrf_token %}
{% if form.first_name.errors %}

{{ form.first_name.errors.0 }}

{% endif %}
{% if form.last_name.errors %}

{{ form.last_name.errors.0 }}

{% endif %}
{% if form.email.errors %}

{{ form.email.errors.0 }}

{% endif %}
+265

Enter 9 digits (e.g., 991234567 for Airtel or 881234567 for TNM)

{% if form.mobile.errors %}

{{ form.mobile.errors.0 }}

{% endif %}
{% for op in mobile_operators %} {% with op_ref=op.mobile_money_operator_ref_id|default:op.ref_id|default:op.id %} {% endwith %} {% empty %}
No mobile money providers available. Please try again later.
{% endfor %}
{% if form.operator_ref_id.errors %}

{{ form.operator_ref_id.errors.0 }}

{% endif %}
{% if form.non_field_errors %}
{% for error in form.non_field_errors %}

{{ error }}

{% endfor %}
{% endif %}
{% endif %}
{% block extra_js %} {% endblock %} {% endblock %}