#pobourdeau
1 messages · Page 1 of 1 (latest)
Hello
Hmm so you basically want to use promo codes to allow your Customers to apply a discount to their Checkout Sessions, and those discounts represent a gift card, correct?
Yes
I'm a little confused by why you would need multiple coupons or promo codes in this case?
If it has a 25% sale sitewide and a customer wants to pay with is credit, could he?
Ah and you are applying the 25% off sale via a coupon to the Checkout Session?
yes, is there another way to implement sales?
Well you would create a lower Price instead
true
That is the only real way to handle what you are looking for here. So you would have Price A which is 100% of the cost and Price B which is 75% of the cost
During a sale you use Price B instead of Price A
But yeah, you can't use both a coupon and a promo code as you stated
Okay, and what happend if a customer bought a 15$ gift credit and his order is 10$. I need to log the 5$ remaining in my db and recreate a new coupon in stripe?
Yes that's correct.
Okay, perfect, I just want to be sure of one thing. What is the difference between coupon and promo code? In this precise case, with one do I need to use?
Coupon would be a code for you to use as the merchant. Promo code is the code you provide to your Customer for them to supply to your integration (in this case, for them to enter during the Checkout Session).
In this case, you would use Promo codes for your gift cards since you want to be able to provide a code that makes sense to the customer
Perfect! Thanks for your time!