#Suren-auto-advance

1 messages · Page 1 of 1 (latest)

elfin vortex
#

Hey! auto_advance is set on on the Invoice object, not on the Subscription itself

#

What is it you're trying to do?

tawny hatch
#

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

elfin vortex
#

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

tawny hatch
#

yes I want the subscription to never end even if it is not paid

elfin vortex
#

Not currently possible to be set on a per subscription basis

tawny hatch
#

I want to always stay past_due

#

is it possible?

elfin vortex
#

Yes, the setting I shared will leave the status as past_due

tawny hatch
#

aaaa this is probably the old version

elfin vortex
#

How do you mean?

tawny hatch
#

I understood everything, thank you

elfin vortex
#

Perfect!

tawny hatch
#

I've got one more question

#

if I may

elfin vortex
#

Sure!

tawny hatch
#

by cli stripe can I make event customer.subscription.updated with past_due status?

#

and attach some kind of metadata

elfin vortex
#

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?

tawny hatch
#

no, I want to change the subscription past_due status for testing

elfin vortex
#

Yep, then you'll need a Subscription where a payment is failing for an invoice

tawny hatch
#

and how to achieve such a result?

elfin vortex
tawny hatch
#

thank you very much