{# # Thank You / Order Confirmation (Bootstrap 5 Override) # # HPOS compatible: uses WC_Order object methods only, no $post global. # # Expected context: # order - WC_Order object (or null on failure) # # WooCommerce PHP equivalent: checkout/thankyou.php # # @package WcBootstrap # @since 0.1.0 #} {{ do_action('woocommerce_before_thankyou') }} {% if order is defined and order %} {% if order.has_status('failed') %}
{{ __('Unfortunately your order cannot be processed as the originating bank/merchant has declined your transaction. Please attempt your purchase again.') }}