Multiple coupons to a single subscription

28 views
Skip to first unread message

Dmitry Mylnikov

unread,
Jan 17, 2020, 11:19:54 AM1/17/20
to Stripe API Discussion
Hey guys, is there a way to add multiple discount coupons to a single subscription?
For example I want to give some customer a free month of subscription and then add two more? Is there other way than just overriding the existing one with sum of one + two additional?
And in that case how the time that already have passed between two events (adding first free month and adding two more) will be calculated?
Thanks in advance for the answers!

Remi J.

unread,
Jan 17, 2020, 11:26:04 AM1/17/20
to api-d...@lists.stripe.com
Hello Dmitry,

Today, we don't support combining multiple coupons on a Subscription or an Invoice. You can only have one active coupon on a Subscription which will automatically apply to its invoice(s). When you change the coupon applied, you would also have to handle the time that already passed to calculate the duration of the new coupon if that's the approach you take.

A better solution here would be to use the customer's balance instead as documented here: https://stripe.com/docs/billing/customer/balance

This would let you add some credit to their balance for the number of months you want to give them for free. Each invoice on that subscription will be for the usual amount (say $10), but pull from the customer balance to be paid first until that balance is down to $0. In this case, if you set the balance to -$30, the next 3 invoices would be free and the fourth one would charge them $10.

Hope this helps!
Remi

--
To unsubscribe from this group and stop receiving emails from it, send an email to api-discuss...@lists.stripe.com.

Dmitry Mylnikov

unread,
Jan 20, 2020, 1:24:18 PM1/20/20
to Stripe API Discussion
Thanks Remi that helped a lot!
As far as I understand, this also solves my problem with applying free months to annual subscription, I'll just give credit to customer by adding to their balance negative amount of payment for those months and then customer will be billed less when paying for subscription, right?

пятница, 17 января 2020 г., 19:26:04 UTC+3 пользователь Remi J. написал:
To unsubscribe from this group and stop receiving emails from it, send an email to api-d...@lists.stripe.com.

Remi J.

unread,
Jan 20, 2020, 1:24:49 PM1/20/20
to api-d...@lists.stripe.com
That's correct!

To unsubscribe from this group and stop receiving emails from it, send an email to api-discuss...@lists.stripe.com.
Reply all
Reply to author
Forward
0 new messages