#Suren-auto-advance
1 messages · Page 1 of 1 (latest)
Hey! auto_advance is set on on the Invoice object, not on the Subscription itself
What is it you're trying to do?
yes i understand it i just want to understand it needs to be done only once?
or it should be done every time the status becomes past due
Why would you change it after the Invoice is past_due?
In fact, past_due isn't even a valid Invoice status
That's a Subscription status
yes I want the subscription to never end even if it is not paid
This is generally managed by an account level settings found in the Dashboard (https://dashboard.stripe.com/settings/billing/automatic)
Not currently possible to be set on a per subscription basis
Yes, the setting I shared will leave the status as past_due
aaaa this is probably the old version
How do you mean?
I understood everything, thank you
Perfect!
Sure!
by cli stripe can I make event customer.subscription.updated with past_due status?
and attach some kind of metadata
You can't force update to past_due status no. You would need to get a Subscription in that state by with a failed payment
Or do you already have a Subscription with that status?
no, I want to change the subscription past_due status for testing
Yep, then you'll need a Subscription where a payment is failing for an invoice
and how to achieve such a result?
Create a new Subscription (without a trial) and use a test card which will fail immediately: https://stripe.com/docs/testing#cards-responses
thank you very much