• Resolved wei1994

    (@wei1994)


    Can I enable only express checkout? So I just want to enable Apple Pay and Google Pay. Not the credit card input.

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @wei1994

    Yes, you can definitely set up your WooCommerce store to only accept express checkouts like Apple Pay and Google Pay.

    To enable Apple Pay and Google Pay, you will need to use a payment gateway that supports these methods, such as Stripe. If you haven’t installed it yet, you can do so by going to Plugins > Add New, searching for “Stripe”, and installing and activating the plugin.

    From WooCommerce > Settings > Payments, you can disable any standard payment gateways like Direct Bank Transfer, Check Payments, or Credit Card payments by simply unchecking the “Enable” box next to those options.

    Thread Starter wei1994

    (@wei1994)

    Hi @aguinaldodarla,

    Thank you for the reply. I am using Stripe, already set it up and it works.

    If I go to WooCommerce?>?Settings?>?Payments and enable “Stripe?–?Credit Card (Stripe)” option. The google/apple pay button and the stripe credit card input appear. If I disable “Stripe?–?Credit Card (Stripe)” option the google/apple pay button and the stripe credit card input does not appear.

    The behaviour that I want to achieve is, the only google/apple pay button that appear. But not the stripe credit card input. But I cannot see any option to do that.

    Do you have any idea how to do this? Thank you.

    Saif

    (@babylon1999)

    Hello @wei1994,

    Thank you for the clarification!

    I’m afraid that, it’s not possible to remove the credit card form, at least not by default. However, this doesn’t mean you can’t create your own custom solution, which is not something we can assist with per our support policy.

    If you’re looking to create a conditional solution for hiding certain payment methods, you can gain some inspiration from this guide: https://developer.woocommerce.com/2022/05/20/hiding-shipping-and-payment-options-in-the-cart-and-checkout-blocks/

    You may also consider overriding the following checkout template: https://github.com/woocommerce/woocommerce/blob/3d5b58b7d66ed5937bebb8b45b396275a6a5ab57/plugins/woocommerce/templates/checkout/payment-method.php

    If you require the assistance of a developer, consider hiring a WooExpert.

    Hope this helps!

    Thread Starter wei1994

    (@wei1994)

    Hi @babylon1999,

    I see, understood! Thank you so much for the suggestion. It will help progress faster.

    Have a great day!

    Hi @wei1994,

    I see, understood! Thank you so much for the suggestion. It will help progress faster.

    I’m delighted to know you found the information useful! It’s always our goal to support you in the best way possible.

    I’ll go ahead and mark this thread as resolved. However, if you ever have more questions or issues in the future, don’t hesitate to kick off a new topic.

    Hope you have a fantastic day!

    Thread Starter wei1994

    (@wei1994)

    Hi @bisratlearn,

    Currently I haven’t see the details for the suggestion, so I haven’t tried it out yet. Because I’m not familiar with modifying WordPress. So for now my solution is just to modify the css display:none for what I want to hide.

    I have updated the status to resolved the other day though, so yes we can resolve this issue.

    Thank you, for the amazing help. Have a great day!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Apple and Google Pay (Express Checkout) only’ is closed to new replies.