Google Pay/Apple Pay Buttons Missing on Checkout Page

This topic has 2 replies, 2 voices, and was last updated 1 days, 6 hours ago ago by Luca Rossi

  • Avatar: Sparc
    Sparc
    Participant
    March 22, 2025 at 02:34

    Hi 8theme Team,
    I’m running my site on XStore , and I’ve noticed that the Google Pay and Apple Pay buttons aren’t showing up on the Checkout Page.(can see this button on the cart page) They’re supposed to be there for quick payments, but it’s just not happening.
    Could you help me figure out how to fix this?
    Thanks a bunch for your support!

    Content is visible for topic creator and
    support staff only.
    Files is visible for topic creator and
    support staff only.
    1 Answer
    Avatar: Justin
    Luca Rossi
    Support staff
    March 22, 2025 at 09:45

    Dear @Sparc,

    We hope this message finds you well.

    We would like to inform you that we have created a do_hook shortcode using custom code within the functions.php file located in your child theme. 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_before_checkout_form"]
    

    As a result, the Apple/Google Pay option is now displaying correctly. You can view the outcome here: https://prnt.sc/abA76oC-T1u0.

    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

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.