#kaif15_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/1220461446702301264
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hey there, can you clarify where exactly you're stuck? You've described multiple setup steps but its unclear whats not working like you expect.
(Appreciate the details/context! I just don't know what I'm trying to help you with ๐ )
sorry, I was just trying to be as detailed as I could.
Basically I expect a payment to go through without 3DS verfication after having setup the payment method using a setup intent but it does not.
It throws the error requires_source_action
I already passed the 3ds step when setting up the setup intent
Gotcha, thanks for explaining. Let me take a look.
Still looking at this FYI, just talking with some teammates
yeah, sure. Thanks for the quick replies. I was expecting to get a response tomorrow ๐
Mechanically, this is happening because the payment the request is triggering is not off-session, and instead uses setup_future_usage which makes the re-authentication expected
What I'm trying to figure out is whether this is intended and if so what the best workaround would be
If it were going to take that long to investigate (it happens), we'd ask you to write in to get a support case created for replies. Here on discord we work with you ~live and close idle threads after a bit.
ah, right. Yeah some way to to setup_future_usage while authenticating beforehand is what I need then.
While I work with my team, can you retry this but use trial_end={a few seconds in the future} instead of now?
I suspect that might cause the payment to happen off-session instead of on-session
ah, okay. It can be as small as 5 seconds right?
yep
ah, right. That seems to have worked. Though not in my app due to a timeout bug but I can see on stripe that the subscription is active
so, now won't work for off_session . Gotcha. Thanks for the help ๐
NP! Glad that helped. I think the loose explanation is that the now change somewhat implies an action from a customer request, even if not explicit.