#gabor
1 messages · Page 1 of 1 (latest)
Yeah, unfortunately this is a bit tricky. You can't right now have a single promotion code that will only apply to a specific price: https://stripe.com/docs/billing/subscriptions/coupons#coupon-duration
Thank you for your answer! Is there a way you can recommend to achieve this?
Can you share more details on what kind of discount you want to apply (%, fixed, duration, etc)?
Of course!
Let's say the full yearly price is $120 and the full monthly is $10. The monthly always stays the same, there is no discount.
For the first 1000 yearly subscribers the price would be $60: there is 6 months off from the yearly price, and the price stays for 2-3 years, and after that the price falls back to $100 (2 months off).
The next 1000 yearly subscribers will get 4 months off with the same conditions, and for everyone else after that the yearly price will be $100 (2 months off).
Like I said this almost works with the documented solution. I thought the "Require minimum order value" option would solve the problem, but it didn't work. When I set minimum order value to $120, the discount will still be applied on the $10 monthly too, resulting in $0 monthly fee.
Can you share the promo_xxx ID?
I tried with these two: q46Uy1nB and VNZykoXe
In test mode
The first one has customer facing coupons set, the second doesn't.
The prices are in HUF, the amounts are different from the example above. These promos are only for testing how it works.
👋 taking over for my colleague. Let me catch up.
Hi @zinc goblet
I create the checkout session like this:
await checkout.sessions.create({
discounts: [{
coupon: 'q46Uy1nB',
}],
//…
})
Well… I don't think I could sum it up better than my first message in this thread.
We'd like to give subscription discount only on the yearly price, but not on monthly.
let me go back and read it
unfortunately this is not possible today in Checkout
it's a valid use-case but we don't support it yet
Could it work with custom-built checkout?
Although, even if works, that is a possibility for the future only. I'm looking for a simple solution now, so probably I am going to revert to define multiple prices.
It's a shame, since the features of discounts (e.g. limiting to duration and first x user, easy application) would come very handy. I hope this will be possible some time soon.
Thank you for your help!
yes in that case you would have to create a PaymentIntent and would be able to handle discounts the way you want to
I agree and this is a really valid feedback
you can write to https://support.stripe.com/?contact=true if you prefer and ask them to relay the feedback to the internal team and let you know when and if this is going to happen
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
I will, thank you!
do you mind me closing the thread?
No, that's all I wanted to ask now. thanks again for your help!