#gabor

1 messages · Page 1 of 1 (latest)

deft brookBOT
tranquil night
plush zodiac
#

Thank you for your answer! Is there a way you can recommend to achieve this?

tranquil night
#

Can you share more details on what kind of discount you want to apply (%, fixed, duration, etc)?

plush zodiac
#

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.

tranquil night
#

Can you share the promo_xxx ID?

plush zodiac
#

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.

zinc goblet
#

👋 taking over for my colleague. Let me catch up.

plush zodiac
#

Hi @zinc goblet

#

I create the checkout session like this:

await checkout.sessions.create({
  discounts: [{
    coupon: 'q46Uy1nB',
  }],
  //…
})
zinc goblet
#

yes

#

would you mind summing up the issue?

plush zodiac
#

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.

zinc goblet
#

let me go back and read it

plush zodiac
#

thank you

#

At checkout the monthly subscription price is discounted too.

zinc goblet
#

unfortunately this is not possible today in Checkout

#

it's a valid use-case but we don't support it yet

plush zodiac
#

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!

zinc goblet
zinc goblet
#

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

plush zodiac
#

I will, thank you!

zinc goblet
#

do you mind me closing the thread?

plush zodiac
#

No, that's all I wanted to ask now. thanks again for your help!