#jmak
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- jmak, 1 hour ago, 23 messages
Do you mean discount on a Checkout Session?
yeah
i know i basically need to create a PromoCode, and then pass that promo code in , but I want to make sure Im making the promo code correctly (it's a one time discount to be used on any of the pricing options)
It's more of the area on the Customer. Promotion code is for the customer to key in
You probably want to look at Discount object
Hmm yes could be, can you test in Test mode?
I imagine you will have a logic before this, says "if this price, then use this promo, else if another price, use this promo". You will have a corresponding promo value
Then just set it into the Checkout Creation API
yeah, so did I set these promo codes up right?
Yeah looks like so, if the compiler doesn't complain 😅
okay i guess ill test it out manually....
the FE was just a bit confusing
i guess really just here... can you explain to me how I can have proper codes applied to the pricing options? I was thinking required min order value
but not sure if thats the right way to do it
for example, you apply a bigger discount on the yearly price of 100 and a smaller on the monthly price of $10/mo
Yes, isn't it that you can do a logic like "if this price, then use this promo, else if another price, use this promo"