{% sw_extends '@Storefront/storefront/page/checkout/finish/finish-details.html.twig' %} {# @var \Swag\PayPal\Checkout\PUI\PUIPaymentInstructionData payPalPuiPaymentInstruction #} {% set payPalPuiPolling = page.extensions[constant('Swag\\PayPal\\Checkout\\PUI\\PUISubscriber::PAYPAL_PUI_PAYMENT_INSTRUCTIONS_PAGE_EXTENSION_ID')] %} {% set showPuiPolling = payPalPuiPolling is not null and payPalPuiPolling.paymentInstructions is null %} {% block page_checkout_finish_header %} {% if showPuiPolling %} {% block page_checkout_finish_header_paypal_pui_polling %}
{{ "paypal.payUponInvoice.checkout.finish.subtitle"|trans }}