Dear @Safe Desires,
We hope this message finds you well.
We would like to inform you that we have created a do_hook shortcode using a code snippet via Code Snippet plugin. The code is as follows:
add_shortcode( 'do_hook', function( $atts = array(), $content = null, $tag = '' ) {
if ( isset( $atts['hook'] ) ) {
do_action( $atts['hook'] );
}
return;
});
To implement this, we added the shortcode above the checkout form as shown below:
[do_hook hook="woocommerce_checkout_before_customer_details"]
As a result, the Apple/Google Pay option is now displaying correctly. You can view the outcome here: https://prnt.sc/Y9EDa0NXo_8_.
Could you kindly review this and confirm if everything is functioning as expected?
Thank you for your time and assistance.
Best regards,
The 8Theme Team















