#sushbhat
1 messages · Page 1 of 1 (latest)
Hi there!
How are you collecting payment information? Checkout Session, Payment Element, something else?
we are using stripe payment element from stripe.js
You can disable Apple/Google Pay programatically for the Payment Element with this: https://stripe.com/docs/js/elements_object/create_payment_element#payment_element_create-options-wallets
are these the only 2 other options supported? basically we want to display only credit card, even though in future someone enable some other payment method on our account
To control other types of payment methods, you need to set this when creating the PaymentIntent: https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_types
if not provided, so anything we need to do?
What do you mean? What is your end goal here?
I mean link you shared says "The list of payment method types that this PaymentIntent is allowed to use. If this is not provided, defaults to [“card”]"
We want to support only card it seem to be default behaviour is my understanding correct
Yes that's correct! And "card" includes Apple/Google Pay. So if you want to disable that too, then you need to follow the link I shared earlier.