{% load i18n mvp_payments %} {# @description The way to buy one plan: checkout for a signed-in person, sign-in first for anyone else, and the user subscriptions page for a plan they already hold. #} {# @prop price:text | description:"A Stripe price, with its product expanded." | required #} {# @prop plans:text | description:"What {% stripe_plans %} returns." | required #} {% if price.id in plans.held %} {% blocktranslate with name=price.product.name %}your {{ name }} subscription{% endblocktranslate %} {% elif plans.signed_in %}
{% csrf_token %} {{ price.product.name }}, {{ price|price_frequency }}
{% else %} {{ price.product.name }}, {{ price|price_frequency }} {% endif %}