#derand1_webhooks
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/1265493170825728042
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hello! Unfortunately, we don't really have a field that indicates this or any great way to get this. I think the workaround that I would suggest is to possibly consider setting it such that you mark the subscription as unpaid when all retries fail. You can listen for the event and change in status, inform your customer, then run a cron job to automatically cancel the subscriptions that are unpaid for a number of days
Hi Alex!
I set up 'Retries' so that the subscription will automatically cancel after all attempts fail.
I want to send push notifications on every payment attempt failure and notify them how many days remaining the have to resolve the issue before the subscriptions auto cancel.
Is the only way to get the 'attempts remaining' (days left) is to have a constant value based on my 'Retries' config?
honestly, i don't really recommend that. It gets complicated if you update the retry number. IIRC, Stripe doesn't apply the updated retry number to an already existing Invoice
Ah I see. Kind of unrelated to stripe, but what do you recommend I notify the user to provide urgency?
In the Stripe billing settings, you can configure it such that an email is sent reminding the customer about an upcoming Subscription renewal. There is also another setting to email the customer when payment fails.
I guess one idea that I can think of is to send a follow-up email after the first failed payment, something along the lines like your subscription will be automatically cancelled if you do not make payment soon