#frekis_api

1 messages ¡ Page 1 of 1 (latest)

austere mapleBOT
#

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

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

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

analog relic
#

hi! the error seems pretty clear : "This PaymentIntent could not be captured because it has a status of requires_action. Only a PaymentIntent with one of the following statuses may be captured: requires_capture.",

strange talon
#

my steps was like first we setup payment, then we add payment method after receive payment method will create payment intent then after payment intent will call payment confirm api then will capture that payment.

#

so can you please check like this steps is right or i'm on wrong path ?

analog relic
#

you confirmed the PaymentIntent, it went to status "requires_action" (meaning 3D Secure is required) but you didn't handle that and instead tried to capture the PaymentIntent.

strange talon
#

Okay so basically that is the problem? so how can i handle that?

analog relic
#

well usually you would do the confirmation on the frontend like all our guides describe. But if you're confirming on the backend then you'll have to check the status of the PaymentIntent after calling confirm() , and if it's requires_action , send the client_secret back to the frontend and call an appropriate function in the SDK to present 3D Secure to the user.