#tea-hanks_best-practices

1 messages ¡ Page 1 of 1 (latest)

echo oasisBOT
#

👋 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/1410189936149135440

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

young coyote
#

Ok I mistankely pressed the submit button without providing any more context. And I apparently cannot change the request message so I will try and post it in the thread instead

We were using SetupIntents to setup subscribtion. On our checkout page we would collect payment info, create a setup intent, and call confirmSetup on the client with the client_secrent to have payment info stored on customer

Then on our next page we call subscribe api which would fetch the payment_method from the setupIntent and use that payment method to subscribe to a product

We are thinking of moving away from this approach and use paymentIntents instead i.e. create a subscription and call confirmIntent with the client_secret from the subscription object

However, we also want to support iDEAL payments for our customers in Netherlands and apparently I cannot create a subscription with iDEAL payment method

This is forcing us to stick to SetupIntents just to enable iDEAL payments in our subscription flow

Is there a way around this?

languid seal