{% extends 'oscar/checkout/preview.html' %} {% load i18n static currency_filters %} {% block checkout_nav %} {% include 'oscar/checkout/nav.html' with step=4 %} {% endblock %} {% block payment_method %}

Payment

Your order is not complete until you click the "Place order" button.

{% csrf_token %}
{{ stripe_token_form.as_p }}

{{ order_total.incl_tax|currency }} will be debited from your bankcard.

{% endblock %} {% block place_order %}
{% csrf_token %} {% comment %} When submitting sensitive data on the payment details page (eg a bankcard) we don't want to save the data and so we pass the bound form to the preview template and render it in a hidden div. Then the payment information will get re-submitted when the user confirms the order. {% endcomment %}
{% block hiddenforms %} {# {{ stripe_token_form.as_p }}#} {% endblock %}
{% endblock place_order %}