#fredy_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/1273934859638669322
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Can you share a pi_xxx ID? But status: 'requires_confirmation' is generally indicative of using server-side confirmation via confirmation_method: 'manual'
my question is just for understanding after calling confirmCardPyment in javascript the paymentIntent gets confirmed everything works but i never have the case when the returned paymentintent object has a requires_confirmation with value 'requires_confirmation' as i understand in this case i must confirm server side also. When and why does this occur ?
Hard to say for sure without an example, but I suspect you're setting confirmation_method: 'manual' on your intent as I described above: https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirmation_method
All payment attempts must be made using a secret key. The PaymentIntent returns to the requires_confirmation state after handling next_actions, and requires your server to initiate each payment attempt with an explicit confirmation.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.