#Knippy
1 messages · Page 1 of 1 (latest)
Hi, promotion and coupon two different things. I'd recommend reading through this for coupon, https://stripe.com/docs/payments/checkout/discounts#coupons and this for promotion, https://stripe.com/docs/payments/checkout/discounts#promotion-codes. Then, let me know what question you may have.
Also, please provide the event id so I can confirm what the issue might be.
Okay let me get the event id. I did try creating a coupon code under the promotion and it still is rejecting it
the summary is that Promotion Codes are for end customers to redeem, coupon is when you can pass a discount on the checkout creation from your end.
req_UVYKoAcOibH8Xs is the event id for the session creation
promo_1McbxCAtJ1lsjLhdi9bo0cWq is the promo object im trying to use FAMDEV2023
I can confirm that your Checkout session creation is correct, allow_promotion_codes: "true" and it allows your customers to enter a promotion code. Now, looking at the promotion code.
I see that the promotion code is offering, 100% off: https://dashboard.stripe.com/test/coupons/FAMDEV2023. Checkout does not currently support discounting a purchase below the minimum charge amount for one-time payments.: https://stripe.com/docs/payments/checkout/discounts and https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts
Hmm. Okay, I have to figure out how to handle this situation then. My client has received a donation to sponsor 50 people admission to our event, so the idea was to create a 100% coupon code and give that code to the people that need the sponsorship
our current flow is have people select any many the tickets they want, and then that creates a checkout session based off the prices configured in the database for each admission class (adult, youth, etc).
okay i talked to my client, he's happy with applying a 75% off discount for sponsored families
thanks for the pointers
There is also an option to choose what they pay: https://stripe.com/docs/payments/checkout/pay-what-you-want?dashboard-or-api=api in case that is useful as well.
aren't there any plans/feature requests in your internal tracker for $0.00 checkout sessions? I know it seems like an edgecase, but there are situations where we want to process an order that way. Just to funnel it through the same settlement process with the webhooks, etc.
It obviously won't go through the credit card interchange; Stripe's backend would just immediately process it as a successful order
I'll share this feedback for future product reiterations, thank you.
Thank you! have a great day
You as well!
Are you aware of any way to generate a report or see a stat about a promo code on how the total $$$ savings it has rendered? So we can track when the sponsorship is fully used and we can disable to the code
i see we can see in the individual orders if the promocode was used, but i'm wondering if there's a single performance report or something like that so we can see like its usage in the aggregate
You can retrieve the promotions code, https://stripe.com/docs/api/promotion_codes/retrieve and look at "times_redeemed". However, for reporting specific questions you'd need to reach out to Stripe Support. Our support team will be able to assist you better than I can: https://support.stripe.com/contact