{% import "@SyliusShop/Common/Macro/money.html.twig" as money %} {% set state = order.paymentState %} {% if state != 'cart' %} {% include "@SyliusShop/Common/Order/Label/PaymentState/orderPaymentState.html.twig" %} {% endif %} {% for payment in order.payments %} {% set state = payment.state %}
{{ payment.method }}

{{ money.format(payment.amount, payment.currencyCode) }}

{% if payment.amount != payment.order.total and state == 'processing' %} {{ 'sylius.pay_pal.different_amount'|trans }} {% endif %} {% if state != 'cart' %}

{% include "@SyliusShop/Common/Order/Label/PaymentState/singlePaymentState.html.twig" with { 'state': state } %}

{% endif %}
{% endfor %}