• Resolved tworedears

    (@tworedears)


    How can I disable certain shipping methods for apple and google pay? I have 2 shipping method at my store that requires additional step (select parcel locker location).

    I have tried to get selected payments method WC()->session->get( 'chosen_payment_method' ) but it’s empty – and to be honest, I don’t know if it will help somehow ??

    Can I disable those shipping methods only for this type of payments?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @tworedears

    Are you referring to disabling these shipping methods when Apple Pay or GPay are selected on the checkout page?

    Your requirement isn’t trivial and would require some custom code to achieve if you’re referring to the checkout page.

    Kind Regards

    Thread Starter tworedears

    (@tworedears)

    Not only on checkout page. Apple & Google Pay can be visible on cart, product page, mini cart or checkout (express checkout). When you click on Apple & Google Pay you are not using standard checkout but OS native process.

    Basically on WooCommerce checkout page I want to have 5 shipping methods, on native Apple & Google Pay only 3 ??

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