#ambi_invoice-uncollectible

1 messages ยท Page 1 of 1 (latest)

old narwhalBOT
#

๐Ÿ‘‹ 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/1281370257579049094

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

half ice
#

ambi_invoice-uncollectible

#

@candid oar what I would recommend is to void the Invoice via the API when the Subscription is canceled which would prevent it being paid in the future.
Unfortunately we don't have such an option in the retry settings to do it automatically. So you need to write code that explicitly listens for when a Subscription is canceled customer.subscription.deleted and then explicitly void that Invoice

candid oar
#

I see. Thanks alot for the reply.
would you say there is any possible reason not to do it? I mean to say if there is any use case you see for me to leave the behaviour as is

half ice
#

I think it makes sense. I think it really should be an option if you ask me

candid oar
#

I agree. thanks koopajah, sorry, but since you were so helpful I have a quick followup question. ๐Ÿ™‚

would you say it is necessary to implement some sort of event queue (redis etc) for processing events from stripe webhooks (since the webhook should recieve a reply as soon as possible)

half ice
#

I think it's a good idea if you can build/maintain it yes. It depends a lot on your business, your volume of Events, etc.

candid oar
#

I see, I guess in the beginning I can get away without it

#

Thanks!