#mathankumar - subscriptions
1 messages Β· Page 1 of 1 (latest)
https://stripe.com/docs/billing/subscriptions/overview#settings
The subscription remains in a past_due state after the maximum number of days defined in the retry schedule. Invoices continue to be generated and charge customer based on retry settings.
okay, in that stage (Subscription status => 'leave the subscription as-is' ) invoice will generate every months right??
and also subscription will not cancelled and expired?
yes that's correct
okay nice, that is I need...if I need to downgrade them after the 2months (2 invoices) how can i do that ?
you can schedule a subscription update using subscription schedules : https://stripe.com/docs/billing/subscriptions/subscription-schedules. It's possible to do this via the Dashboard also
I just need to downgrade if they unpaid both invoices (2)...
oh alright, sorry, i misunderstood
not for every two invoices
that's not a feature that we offer unfortunately. You'll have to implement your own logic for that
Okay not a problem,for example i can trigger from stripe (webhook) to my product when invoice creation and check the pending invoices at the time and downgrade them thats right..??
yep
okay thanks, there is only one change in my stripe (Manage failed payments -> Subscription status => 'leave the subscription as-is' ) for this scenario right...??
Are there no other changes in Manage failed payments section??
no other changes
sorry, i don't quite understand this after the downgrade the invoice appear until they pay , could you try rephrasing?
okay, after I downgrade manually using that webhook check and that previous invoices will appear right until they pay that??
are you asking if your customers are still able to pay previous invoices after downgrading?
yes, they still can pay the previous invoice. You would want to void the invoice if you don't want them to pay. You can also test things out
yes, using Manage failed payments -> Invoice status right...?
yep
Okay, I understood, thanks..βοΈ
if I upgrade the plan between the current cycle, then-current cycle invoice will be generated immediately??
https://stripe.com/docs/billing/subscriptions/upgrade-downgrade
Stripe immediately attempts payment for these subscription changes:
From a subscription that doesnβt require payment (for example, due to a trial or free subscription) to a paid subscription
When the billing period changes...
If you want the customer to immediately pay the price difference when switching to a more expensive subscription on the same billing cycle, you can set proration_behavior to always_invoice, which will calculate the proration and then immediately generate an invoice after making the switch.
Is this same for Usage-based billing??
?
π stepping in for my colleague since they had to step away
let me catch up
could you please summarize the Q?
okay
if I upgrade the plan between the current cycle, then-current cycle invoice will be generated immediately in the usage-based plan??
it will depend on what type of plans are you upgrading to
okay, in that stage (Subscription status => 'leave the subscription as-is' ) invoice will generate every month right??
and also subscription will not be canceled and expire?
this is when the invoice is not paid you mean?
yes
in my scenario I need to downgrade after 2 invoices are not paid, so can I use the webhook trigger(when invoice create) and downgrade from my product using API then that previous invoices are still available to pay correct??
yes
If I renew a subscription the same subscription will continue with the change of the current_period_end date ??
you don't actually renew a subscription
the subscription gets renewed automatically upon current_period_end unless specified otherwise
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
okay, that's auto payment, if they renewed the subscription, it will be created new or the same subscription be updated...?
same subscription updated
okay, you mean the current_period_end date will be updated or added 30 days or something..?
yes depending on the interval of the subscription
Okay great..!
let me know if you need any more help
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
Okay sure