#TonyS-discounts
1 messages · Page 1 of 1 (latest)
hi! it would depend a lot on the specifics of the checkout page you're building and the Stripe APIs you're using. Can you share more context on that, and is this a one time or recurring payment and so on?
Hello karl, thanks for your answer! We are selling subscriptions for a Saas (Monthly and Yearly) those are 2 stripes products. We sell the yearly subscription at a discounted price compared to a monthly subscription (price of yearly subscription < 12 * price of monthly subscription). We would like to show to users during the checkout that what they are buying (the yearly subsription) is discounted by default compared to the monthly subscription (ex -16%).
However we would also like for users to be able to use discount code during this yearly subscription checkout. Sorry if I'm unclear, don't hesitate to ask me details if you don't understand
Do you know how we can achieve this?
Hello, apologies for the silence on this thread, karlekko had to step out and I did not pick this thread up quickly enough.
I don't think this is currently possible as Checkout only allows one coupon at a time I believe. Checking in to this and will get back to you on what I can find
Don't worry, thank you very much Pompey
Unfortunately it looks like it is only possible to add one discount to Checkout at a time. https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-discounts
So I don't think there is a clean way to do this. You might be able to do something like using the price_data hash when defining your checkout items and mentioning the discount in the item's description but that UI might not be desirable here.