#mr-stinky-pants_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/1476572791439360053
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
hello
I'm not sure I understand. can you shar emore details about your payment flow? something like:
step 1. the user completes a SetupIntent with 3DS
step 2. I create a subscription for that user, but now 3DS is asked again
i create a si but then check if they had a trial already
if so make a new customer, subscription, but set it to pay now
its not paying it with the api, asking for 3ds again, but lets you pay it in the dashboard
I still don't understand, can you share more details? fore example what does "i create a si but then check if they had a trial already" mean exactly? why do you create a SetupIntent? why do you need to check if they have a trial already?
because we dont want people constantly have free trials
so your goal is to create a new subscription only if the user didn't previously use a free trial?
if they have not had a trial it creates a trial with 7 days which normally works
setting it to start now is not taking the payment correctly
got it. but it's a bad idea to create a SetupIntent first, since it can lead to multiple 3DS flow in a row. instead directly create the Subscription, and use the pending_setup_intent that's inside the subscription to collect a payment method.
we have been getting too many people who dont complete the flow so we wanted to wait until they add a valid card before we make a customer
you mean its using the 3ds challange twice this way
for only 1 setup intent
I'm still not sure I completely understand your payment flow. can you try explaining it in more details?
is 3ds only allowed to be used once per setup intent?
I don't understand what you mean by this. if you create a SetupIntent, it's the bank that will decide if 3DS is requested or not.
i think i know why its not working cheers