• Resolved srpnutratea

    (@srpnutratea)


    Hi Stripe Team,

    How can I show Apple Pay and Google Pay on the WooCommerce Mini Cart widget?

    Kind regards

    SP

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello srpnutratea,

    Thank you for contacting WooCommerce support.

    I understand you’d like to show Apple Pay and Google Pay on the WooCommerce Mini Cart widget.

    Express payment methods like these can’t be added to the Mini Cart Widget.
    Could you share a link to your site?
    I’d be happy to take a look and suggest an alternative solution.

    Looking forward to your response. ??

    Thread Starter srpnutratea

    (@srpnutratea)

    Hi Zubair,

    Thank you for response. Not sure why Apple Pay or Google Pay can not be added WooCommerce mini cart. If express payments can be added to the shopping cart and product pages, that code snippet can be printed on the mini cart.

    The code snippet I am trying:

    add_action( ‘woocommerce_widget_shopping_cart_buttons’, ‘mini_cart_stripe_button’, 20 );
    function mini_cart_stripe_button() {
    if( wp_is_mobile() ){
    //I’d like to add Apple Pay & Google Pay button here
    }
    }

    Stripe: wc-stripe-payment-request-button

    Could you look at the above code and assist with such?

    Kind regards

    SP

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    I understand your concern. Indeed, you can try using custom code to add Google Pay or Apple Pay to the mini cart. However, please note that we do not provide support for custom code, as customization falls outside the scope of our assistance.

    For help with customization, I recommend reaching out to our Slack group at WooCommerce Community Slack and our Facebook group at Advanced WooCommerce.

    Thank you for your cooperation and understanding.


Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.