#rg_docs

1 messages ¡ Page 1 of 1 (latest)

stray heraldBOT
#

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

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

copper dirge
#

Hello! You mentioned "I noticed that the payment intent creates an invoice charge" and I want to make sure I'm clear; are you using Stripe Invoices, or is that refering to your own invoice system?

cerulean minnow
#

So I am using the stripe paymentIntent api to create a payment for the customer on stripe

copper dirge
#

Gotcha. Payment Intents create Charges, so the Charge Events you're used to will still fire. Be aware, though, that a Payment Intent might create multiple Charges. For example, in a scenario where a Payment Intent takes three tries to succeed (two declines followed by an authorization) you'd see three Charges associated with it.

cerulean minnow
#

ah... so if the first charge fails will the payment intent retry it and can create a new charge?

#

the previous charge API didn't use to retry.

copper dirge
#

We don't retry Payment Intent payments automatically, it's something you can do on your end though.

#

Basically you can try to confirm the same Payment Intent multiple times.

#

Until it succeeds.

cerulean minnow
#

ah ok. Cool, thank you for that info.