#Suren-change-sub-status
1 messages · Page 1 of 1 (latest)
Hello! The past_due generally implies that there's an invoice overdue. Normally paying that invoice will trigger the subscription status to update
the fact is that when I try to renew the subscription plan and do not complete
status subscription becomes past_due
and I just want to return to the previous state
try to renew the subscription
How are you trying to do that?
i update subscription, and send client_secret to the front
but not paid at the front
this is my diagram
I need that if the client does not pay, just return the previous state
it's possible implement ?
You want to return the subscription to status: 'active' after a non-payment?
What are you updating on the subscription? Have you considering using pending updates? https://stripe.com/docs/billing/subscriptions/pending-updates
I don’t think the subscription is becoming pending
Here is an example, I now want to return 1 $ to the plan
now this subscription has the status past_due
Exactly, so you should use pending updates which will apply regardless of whether the payment succeeds
payment_behavior: 'pending_if_incomplete', ??
yes, but in this case, what do you think
what if there is no payment at the end of the month
what is the status of the subscription?
past_due or pending
Is the end of the month the end of the billing cycle?
I just want to understand that if at the end of the cycle there is no balance on the card
subscription will go past due as it is happening now
I now have this approach just
there is no balance on the card
What do you mean by this? Insufficient funds to pay the invoice?
yes