#vitor-paixo_code
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/1291405579021193258
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- vitor-paixo_code, 1 day ago, 6 messages
- vitor-paixo_best-practices, 1 day ago, 27 messages
- vitor-paixo_best-practices, 2 days ago, 10 messages
Apple Pay and Google Pay don't always show. They only show in specific circumstances. For example, Apple Pay will only show in Safari on macOS or iOS and Google Pay will only show in Chrome. Both also require that you're logged into the wallet and have a valid card saved in the wallet
Hi there.
thanks for the explanations, i already know that. My question is more related with the configuration in code, or the properties needed to use both in BE and FE to ensure that the payment can be succeded and we can block and show only the payment methods we want.
For instance, i have defined in BE in the paymenteIntent creation the prop automatic_payment_methods = enable, but in FE i want to block some methods, so i used prop paymentMethodTypes in elements creation but im getting this error:
"Payment details were collected through Stripe Elements using payment_method_types and cannot be confirmed through the API configured with automatic payment methods."
You don't block certain payment method types on the frontend
If you want to do that, you have to do it through payment method types on the payment intent too
ie. you can't use automatic payment methods if you want to disable certain payment methods
Ok, so which config should i use in BE when i create payment intent to only use card, google pay and apple pay?
And in FE should i add the same config to only show those 3 methods?