#nachofranco14-sub-discount-items
1 messages · Page 1 of 1 (latest)
Hey there! You can create coupons that only apply to specific products: https://stripe.com/docs/billing/subscriptions/coupons
that doesn't answer my question
how do I specify that one discount is for one product and one coupon is for the other?
and where?
is it even possible?
I have the following use case:
- a subscription has two products
- each product may or may not have a discount
- the discount can be changed or removed for one product
- a third product can be attached to the subscription on a later stage, when the subscription is already running, with its own discount
how do I specify that one discount is for one product and one coupon is for the other?
You can't, you'd create a promotion code/coupon that only applies to that specific line item/product.
Should be easy enough for you to test out to see if it works as you need!
yes, but do I need to apply the coupon to the subscription?
or just by creating the coupon for the specific product it will be applied to all of them?
ok, but is there any kind of workaround like updating the invoice when the invoice.created webhook is received?
maybe there's a way to handle the case
Ah, my bad. I misspoke. Currently subscriptions can only have a single coupon applied to them
I guess in this instance you'd need to create ad-hoc coupons calculated on a per cases basis, which can then be removed and re-applied if you need to update
I believe we're working on improving this in the future