Stripe Payment options are not available on checkout page

1 reply2 participantsUpdated by Luca Rossi

  • Avatar: Safe Desires
    Safe Desires
    Participant

    Stripe support is pointing at the theme provider or Elementor for this issue. Express checkout is selected for all steps, but the Google Pay, Apple Pay buttons only appear in product and cart. The Klarna pay button briefly appears in the checkout, but then disappears.
    Stripe is called on the checkout page and no errors are shown
    <script type="text/javascript" src="https://js.stripe.com/v3/" id="stripe-js"></script>

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.

    1 Answer

    Avatar: Justin
    Luca Rossi
    Support staff

    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

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register