{% sw_extends '@Storefront/storefront/page/checkout/finish/index.html.twig' %} {% block page_checkout_finish_details %} {{ parent() }} {% block page_checkout_finish_details_unzer_paymenttransfer_information %} {% for transaction in page.order.transactions %} {% if transaction.paymentMethodId == constant('UnzerPayment6\\Installer\\PaymentInstaller::PAYMENT_ID_PAYLATER_INVOICE') %} {% continue %} {% endif %} {% if transaction.extensions.unzerTransferInfo is defined and transaction.extensions.unzerTransferInfo is not null %} {% sw_include '@Storefront/storefront/component/unzer/finish/transfer-information.html.twig' with { 'transferInformation': transaction.extensions.unzerTransferInfo } %} {% elseif transaction.customFields[constant('UnzerPayment6\\Installer\\CustomFieldInstaller::UNZER_PAYMENT_TRANSFER_INFO')] is defined and transaction.customFields[constant('UnzerPayment6\\Installer\\CustomFieldInstaller::UNZER_PAYMENT_TRANSFER_INFO')] is not null %} {% sw_include '@Storefront/storefront/component/unzer/finish/transfer-information.html.twig' with { 'transferInformation': transaction.customFields[constant('UnzerPayment6\\Installer\\CustomFieldInstaller::UNZER_PAYMENT_TRANSFER_INFO')] } %} {% endif %} {% endfor %} {% endblock %} {% endblock %}