#douglas-lerner_api

1 messages ¡ Page 1 of 1 (latest)

west mantleBOT
#

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

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

somber raven
#

Hello
The invoice ID doesn't change on automatic retry. The charge ID does change

fickle yarrow
#

Hello, in the second example the charge id doesn't change either.

somber raven
#

Invoice ID & the underlying PaymentIntent ID stays consistent across retries

#

Let me take a look

fickle yarrow
#

compare the charge ids

somber raven
#

Ah it might be due to the type of decline

#

The second invoice charge was declined due to "invalid_account" decline code with advice being "do_not_try_again"

#

The first invoice had a different type of decline

fickle yarrow
#

so you mean in this case, we are supposed to cancel automatic retries just for this one transaction? Is there a way to do that via the api? I believe we have it set to auto retry 4 times before giving up

somber raven
#

Are you using Stripe's smart retries or do you have your own custom retry rules?

fickle yarrow
#

Not totally sure, I'm new to the payment system. Which config setting should I look for? It's a rails app.

somber raven
#

I think this is configured via the dashboard under billing settings

fickle yarrow
#

That's what I see. Should it stop retrying automatically?

#

I'm not sure if there is some other setting via the api.

somber raven
#

Gotcha. Yeah I'd have expected the smart retries to not try again but my team on discord won't know much about it unfortunately..

There's no way to disable/stop retries via the API

#

I would suggest you reach out to our support about this. You can file a ticket and it'll be escalated to the right team that can help with this
https://support.stripe.com/?contact=true

#

It is odd that we kept retrying

fickle yarrow
#

okay so you think it might be a bug on your end?

somber raven
#

Might be an edge case or some sort of fees related optimization where we don't internally retry the charge to prevent additional fees related to declines

#

Just a guess thoguh

#

though*

#

Support team should be able to help confirm

fickle yarrow
#

okay which link do I click on the support page?

somber raven
#

There should be a "Contact Support" link

fickle yarrow
#

okay thank you.