#blackbirdgunner_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/1379044457344925800
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
You'll want to use this property in the response from the update call: https://docs.stripe.com/api/invoices/object#invoice_object-confirmation_secret
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
It'll contain a client_secret you can use to init Elements with to collect payment
expand: ['latest_invoice.confirmation_secret']
Thanks! I just need to use this client secret in stripe.handleNextAction() on frontend side like before?
Yes, assuming it's status: 'requires_action'
(which should be if it's a 3DS related fail)
๐ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
this is status of payment intent right? How can I fetch this?
correct
you need to retrieve the PaymentIntent from the invoice.payments https://docs.stripe.com/api/invoice-payment/object?api-version=2025-03-31.basil#invoice_payment_object-payment-payment_intent
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
basically you can retrieve the invoice and expand on expand: ["payments.data.payment.payment_intent"]
with the latest_invoice ID