#ajaygoel - Invoice Payment Retries
1 messages · Page 1 of 1 (latest)
Hello! Some payment failures are terminal, meaning we know that the card will never work again, so there's no reason to retry. That's likely what you're seeing.
I see. Is that shown in the event logs for the invoice, or anywhere?
You can get details about why the payment failed by looking at the associated Payment Intent, and the Charge associated with that.
payment_intent on the Invoice: https://stripe.com/docs/api/invoices/object#invoice_object-payment_intent
last_payment_error on the Payment Intent: https://stripe.com/docs/api/payment_intents/object#payment_intent_object-last_payment_error
Okay, but with what I've described, invoices SHOULD be auto-retried, unless there's a terminal failure?
Based on what you said, yes, they should.
Okay, thank you
Hi @near elbow I'm taking over this thread
Okay, hi Jack
Hello there! Let me know if you have any follow-up question, I'm happy to help
I do actually. So I wanted to validate what Rubeus said, and I'm finding counter-examples to what he said.
For example, an invoice was created, and the first attempt on payment failed, and I see this message under the detail for the failed Payment:
Payment declined by the issuing bank
Tell the customer to try a different payment method, or they can contact their issuing bank for more information. Retries may succeed.
It specifically says retries may succeed, so I know it's not a terminal failure. Yet there were no auto retries on it.
Hi there, could you provide a sample Invoice Id?
Sure -- in_1LJ69lFXq7EiSlnC8icMogcI
Hmm okie I see that was closed for 1 time retry. Gimme sometimes to look closer
Sure. I can tell that auto retry is ON, because in the dashboard it gives me the option to turn auto retry off.
Hi there, I am looking at our internal log with some level of details but can't figure it out why yet. I also can confirm you haven't changed the setting since then
Is this blocking your integration? If so you can write in and I will follow up from there after consulting the Invoice engineering team
Hi - I can work around this for now by implementing my own re-try flow, so it is not blocking my integration. But I'd still just love to know what's going on and why it's not working the way we expect it to.
Glad to hear! I will be asking the Invoice team!
Thank you.