#dev-mhamidi_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1217206696007700602
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
No, Express Checkout Element only supports wallets.
Also, I think you can disable cards on the PaymentElement
In this flow: https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment
If you look at elements options:
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment#additional-options
You can pass paymentMethodTypes client-side
OR you can set payment_method_types explicitly when you create a PaymentIntent
Cards can't be disabled via the dashboard. However, you can override the payment method types either server-side or client-side depending on the flow you're integrating
Yeah that was what we tried originally but we found that for apple pay and google pay specifically, there was a disclaimer stating that the card option needs to be passed in to be used. I will try and find the place in the docs
ah yup you're right
sorry for the confusion.
Apple Pay and Google Pay are classified under cards payment method type
The only option I can think of is that you implement: Express Checkout Element + PaymentElement (with Defer-intent flow where you can disable cards)
Ahh ok that makes sense. Thanks for the help!
NP! Sorry for the confusion