{% extends "oscar/checkout/checkout.html" %} {% load i18n %} {% block title %} {% trans "Order preview" %} | {{ block.super }} {% endblock %} {% block checkout_nav %} {% include 'oscar/checkout/nav.html' with step=4 %} {% endblock %} {% block checkout_title %} {% trans "Preview order" %} {% 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 %}{% endblock %}
{% endblock place_order %}