#champipop_unexpected
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/1506197443564273715
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there, give me a moment to catch up on the question
Hello, no problem take your time
Can I double check you want Stripe to not retry failed payment attempts?
What I would like is for stripe to retry payments for the desired amount of time (or retry), but once the subscription is marked as canceled the retries should stop as well.
The end goal is basically prevent ending with customers having paid but left without a subscritpion
Here is the invoice id : in_1TRyWXJqpZaWOUAXuashPiN3
Thanks for sharing the invoice ID. By right, if you're relying on Stripe's smart retries feature, subscription that has been cancelled would not have their payments continously retried, since the subscription would have been cancelled when Stripe exhausted all retries
Do you have any way to check if the last payment has been done automatically by stripe or manually by the user ?
But looking into in_1TRyWXJqpZaWOUAXuashPiN3 - the payment attempt on this invoice was not done by Stripe. The invoice was paid by the customer via the Hosted Invoice Page, which they have access to when they receive a failed payment notification via email.
Are you able to look up this charge: ch_3TRzUFJqpZaWOUAX1WpuqBf9 and see that its completed via the Hosted Invoice Page?
Our current flow is the following, when we receive the subscription.deleted webhook we list all invoices that have a open status and void them. Shouldn't that prevent user from paying their invoice trough the email link ?
It should, but the attempts on voiding in_1TRyWXJqpZaWOUAXuashPiN3 failed.
You can look up both of these requests in the Dashboard:
- req_78tSurxAuaaXHn: this is an attempt to mark the invoice uncollectible. The attempt failed because provided restricted key does not have access on your Stripe account
- req_FHKfeDmcDHhQx8: this is an attempt to void the invoice. The attempt failed with similar reason
Where should that see that on the page ?
Is the restricted key the same as the api key ?
Yes, restricted key is a type of API key.