{% if requires_shipping and shipping_address %} {% endif %} {% endif %} {% if billing_address %} {% endif %} {% if requires_shipping and shipping_address %} {% endif %} {% assign transaction_count = transactions | size %} {% if transaction_count > 0 %}

Shipping address

{{ shipping_address | format_address }}

Billing address

{{ billing_address | format_address }}

Shipping method

{{ shipping_method.title }}

Payment method

{% for transaction in transactions %} {% if transaction.status == "success" or transaction.status == "pending" %} {% if transaction.kind == "authorization" or transaction.kind == "sale" %}

{% if transaction.payment_details.credit_card_company %} {% capture credit_card_url %}notifications/{{ transaction.payment_details.credit_card_company | downcase | replace: " ", "_" }}.png{% endcapture %} {{ transaction.amount | money }} {% else %} {{ transaction.gateway | replace: "_", " " | capitalize }} — {{ transaction.amount | money }} {% endif %}

{% endif %} {% endif %} {% endfor %}