#remrem_unexpected

1 messages ¡ Page 1 of 1 (latest)

earnest plumeBOT
#

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

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

vivid tulip
#

Hi, the status of the PaymentIntent is status: "requires_capture",.

#

Can you share more on what is happening here?

arctic cove
#

Then the client completed the 3ds secure we make a call to out server to verify it's the status of payment intent is "requires_capture". But for some reason we got an error from the server, so my the only idea that for some reason then we retrieved it, it was not in "requires_capture"

#

Can It be some delay in status update?

vivid tulip
#

What error?

arctic cove
#

Payment intent is not in a valid state. It's or internal error

#

basically we check if the status in const validStates = ["succeeded", "requires_capture"];

vivid tulip
#

I can't speak to what your iternal code is doing. It's possible that when talking to the bank for 3DS, it might take some time.

earnest plumeBOT
vivid tulip
#

You can listen to charge.succeeded event and then check the status

arctic cove
#

My question is about whether after a user successfully completes 3DS, the status in paymentIntent might not change immediately?

vivid tulip
#

It should