#mentijm-subscription
1 messages ยท Page 1 of 1 (latest)
Hi! If you have an existing subscription and want to make the next two month free, you could use a 100% off coupon that repeats twice.
https://stripe.com/docs/api/coupons/create
Another option is to use a free trial by updating the subscription and setting trial_end https://stripe.com/docs/api/subscriptions/update?lang=node#update_subscription-trial_end
Hi soma, ok thanks. How does it work on the next renewal then?
In both cases they pay 10/12 * yearly price?
This is a yearly subscription? I assumed it was monthly.
Yearly ๐
and has the subscription already started, or is this a brand new subscription where you want to add 2 free months?
They've ran for a while. We want to reimburse them but unless they specifically ask for us to transfer the money we would like to extend their access to our product
Go it, in this case the coupon won't work, since it will only apply to the next invoice. Let me think...
okok
You could add a 2 month free trial with trial_end, but note that this will change the billing cycle anchor to the end of the free trial. Otherwise you could use a subscription schedule, to add 2 free months after the end of the current billing cycle. https://stripe.com/docs/billing/subscriptions/subscription-schedules
I would recommend to do some tests in test mode to check if that works for you.
Ok, so a trial with trial end gives 2 months free and then invoices for a new 12 months after that end date?
I think I found a way to make this work: update the subscription with both trial_end and proration_behavior: 'none'.
What will happen is a new invoice for $0 will be created right away, and the renewal of the subscription will be pushed by 2 months.
Hmm ok, does it need to have a trial then or we just hacking that field ๐
Interesting, I guess any real subscription update after that with proration_behaviour: "create_prorations" will not discount anything since $0 was paid. But that might be fine as long as prorations work after that invoice
Hmm ok, does it need to have a trial then or we just hacking that field ๐
what do you mean? if you want to extend the subscription by 2 months, then added adding a 2 months free trial seems logical.
I'm not well versed with your trials
is it an entity or only set by that field basically?
What about: https://stripe.com/docs/api/subscriptions/object#subscription_object-pause_collection-resumes_at ? Is that only affecting cash collection or is it pausing invoicing (revenue) as well?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
is it an entity or only set by that field basically?
It's only that field. The most common way to use is when creating a brand new subscription.
And you are right, another option could be to pause the subscription. You can learn more about how this works here: https://stripe.com/docs/billing/subscriptions/pause