#dmitry_confirmation-tokens-redirect-payments
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/1354485183373639876
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi ๐
I'm taking a look at the payment intent request you shared
I see the error already
Aha! iDEAL requires a redirect but you specify that redirects are not allowed
automatic_payment_methods: {
allow_redirects: "never", // <-
enabled: "true",
},
I suppose that this is the reason why other payment methods give the same error, am I right?
I tried to use these ones
Correct
When you are using confirmation tokens and collecting payment method before creating a Payment Intent, you need to create the Elements session with the exact same parameters you will use in the Payment Intent: https://docs.stripe.com/js/elements_object/create_without_intent
going to try this, thank you
Happy to help ๐