#shimmmaz_api
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/1285355677606346764
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
I don't understand why some subscriptions allow for retrying payment (after it fails). And some subscriptions go into an incomplete, and then expire if the client doesn't suceed to pay within 23 hrs
hi and thank you for the help!
Got it
This goes back to whether this is the Subscription's first Invoice or not
You probably saw this flowchart already: https://docs.stripe.com/billing/subscriptions/overview#subscription-lifecycle
And this explanation: https://docs.stripe.com/billing/subscriptions/overview#payment-window
The smart retries/retry logic only applies to billing cycles after the first Invoice
Oh I understand!
In the app we are building, we need to keep the subscription active even if the first payment fails, is that something I can configure somehow?
Can you explain the logic for this?
If I extrapolate from this, this means that if you have any systems that check on Subscription status to determine whether a customer should get access to a certain service, they'll continue to get access even if payment has failed. Is this what you want?
We give service even if the client doesn't pay, and want to keep the invoice open so that the client can resolve it within a few days - just like the smart retry feature
I see, okay. In that case, I think your only option is to use a trial period, though this won't result in a multi-day open Invoice if that makes sense
I see..
You can have a trial period for X number of days for example, then the first non-zero invoice will be created and finalized automatically at the end of the trial period
At that point, the smart retries would apply if there are any payment failures with the payment details provided by the customer
So wouldn't that result in a multi-day open invoice?
It would but for the second invoice, not the first. The first invoice would be $0 and automatically paid
Happy to help!
I recommend using test clocks to play around with this and see the status changes, invoice creation, etc. in action: https://docs.stripe.com/billing/testing/test-clocks