#trokas_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/1240609507151974451
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
The intent can/will remain in requires_action indefinitely. 3DS/auth was requested for the payment by the issuer/bank so you need to bring custromer on-session and confirm the payment to handle that
So if I understand correctly require actions means that propably the user remained inactive until time out or close the page without completing 3DS authentication. Can you confirm my logic?
Unclear. We've no signal as to whether they attempted 3DS and then left the flow/timed out. We'd only transition from requires_action to either succeeded or requires_payment_method (if auth failed)
Ok but still this payment can be consider as abandoned or failed. I mean, as you said the require action will remain indefinitely, right?
It's not a terminal state no โ they can be re-confirmed at any time which may lead to a successful payment. If your integration wants to consider them 'abandoned' then you should manually cancel them via API
What do you mean they can reconfirm? I want to to test it so I used this 3ds card 4000000000003220. How can I reconfirm it?
Just like the initial confirmation attempt โ you'd call confirmPayment in Stripe.js using the intent that is in requires_action
The intent is jsut a state machine โ can handle multiple confirmation (payment) attempts
In my case I do not think that a specific payment intent will try to pay again, because foreach order I have a different payment intent. But in case I miss some other scenario, or you have any other concerns I would like to hear
Ok but still this payment can be consider as abandoned or failed
that's not true no.requires_actionjust means 3D Secure or another action needs to be taken. That action might be happening right now for example.
This is why at the start of the chat I ask "how much time I have to wait until the action is made and the issue is resolved.". Is there any time limit for this action for example 20 minutes?
no time limit
if you want you can decide for yourself to call the cancel PaymentIntent API after an hour or whatever makes sense to you, on our side it can stay requires_action forever
Can you provide me a link please with the call to cancel the PaymentIntent API?