#fillefilip8-coupon-once-time
1 messages · Page 1 of 1 (latest)
Not directly, no, but a couple questions:
- Where/how are you using these coupons?
- How do you determine "per customer" abstractly for your purposes?
I'm using Stripe checkout...the idea is that the first 100 people can redeem the code (but only once per customer.. as in stripe customer)
Are you providing this as a customer facing promo code, or are you supply the coupon under the hood via the API call?
well.. imagine the "coupon code" is "1234" and they will know that coupon code..
its not added by the backend.. the user needs to write it in..
but one customer can only use it once... and max 100 customers can use it
etc
Ok right, so that's using "promotion codes" then
Correct?
Aside from generating new codes per customer, the only per-customer control available is restricting to first time purchases, ie new customers: https://stripe.com/docs/payments/checkout/discounts#limit-by-customer
So that's available to you. Otherwise you would need to generate unique codes for customers and apply your logic to the generation sequence