#dev-mhamidi_api

1 messages ¡ Page 1 of 1 (latest)

static cedarBOT
#

👋 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.

onyx onyxBOT
maiden flare
#

No, Express Checkout Element only supports wallets.

Also, I think you can disable cards on the PaymentElement

#

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

grim mortar
#

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

maiden flare
#

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)

grim mortar
#

Ahh ok that makes sense. Thanks for the help!

maiden flare
#

NP! Sorry for the confusion