{% extends "layout.html" %} {% load i18n display_tags currency_filters staticfiles thumbnail %} {% block title %} {% trans 'Try again' %} | {{ block.super }} {% endblock %} {% block headertext %}
{% trans "Payment canceled" %}
{% trans "Payment has been canceled, would you like to try again?" %}
{% endblock %} {% block extrastyles %} {{ block.super }} {% endblock %} {% block extrascripts %} {{ block.super }} {% endblock %} {% block content %}
{% block info %}

{% trans "Shipping method" %}

{{ order.shipping_method }} {% if not show_tax_separately %} {{ order.shipping_incl_tax|currency:order.currency }} {% else %} {{ order.shipping_excl_tax|currency:order.currency }} {% endif %}
{% if order.shipping_address %}

{% trans "Shipping address" %}

{% for field in order.shipping_address.active_address_fields %} {{ field }}
{% endfor %}
{% if order.shipping_address.phone_number %}

{% trans "Contact" %}

{% trans "Phone" %}: {{ order.shipping_address.phone_number }} {% if order.guest_email %}
{% trans "Email" %}: {{ order.guest_email }} {% endif %}

{% endif %} {% if order.shipping_address.notes %}

{% trans "Instructions" %}

{{ order.shipping_address.notes|linebreaks }}

{% endif %} {% else %}

{% trans "No shipping address required." %}

{% endif %}
{% if order.billing_address %}

{% trans "Billing address" %}

{% for field in order.billing_address.active_address_fields %} {{ field }}
{% endfor %}
{% endif %}
{% endblock %} {% block order_contents %}
{% trans "Your order" as title %} {% include "checkout/partials/try_again_totals_block.html" with title=title nohide=True id="checkouttotal" %}
{% endblock order_contents %} {% block payment_method_form %}
{% csrf_token %} {% trans "Payment method" as title %} {% include "checkout/partials/payment_method_block.html" with form=payment_method_form title=title nolabel=True id="payment_method_form" %}
{% csrf_token %}
{% endblock %}
{% endblock content %}