#romaten1
1 messages · Page 1 of 1 (latest)
hello! you can't set the status of a Subscription to unpaid via the API, can you explain more about what you're trying to do?
i think what you want is set in https://dashboard.stripe.com/settings/billing/automatic
We have 2 types of subscriptions - monthly and yearly subscriptions. For monthly subscription we add 2 prices - 1) with month package price and 2) with payments for overlimit if user user more than month package amount. For yearly subscription user pay once on start for full year, and there are price for overlimit payments. Problem is with yearly subscription when user use more then month package and stripe add invoice, but payment of this invoice is failed. Then stripe canceled yearly subscription. And we must manually create new subscription. I saw i nsettings "mark the subscription as unpaid" before but we cant use it because it will behavior for monthly subscription too.
i'm afraid there's no way to update a Subscription to unpaid status manually. That's only controlled via the Dashboard setting
I saw that i can set unpaid status in dashboard and i thought that i can this by api
Can you show me where? Don't believe that's possible
I'm sorry, I got confused with invoices - I can set the status there, but not for subscription
Correct, you can't manually adjust a subscription status (other than cancel it).
Thanks