#vartularena
1 messages · Page 1 of 1 (latest)
Hello! If you're looking to limit a promotion code to customers who haven't had any successful payments yet you can use this: https://stripe.com/docs/api/promotion_codes/create#create_promotion_code-restrictions-first_time_transaction
The issue is its not that they haven't bought anything on our website before. Its just one time use of that promo code per user.
So every user can use that pomo code once.
Unfortunately I don't think that's something we support right now - we allow you to limit promo codes to specific customers, and allow you to limit it for first-time purchases, but we don't have anything that allows it to be redeemed once per customer
Can I limit the promo code to 1 customer and 1 time use though? And can you point me to the API doc so I can do that for all my customers and create unique promocode for all of them?
You can look at all the available paramters for creating a promotion code here: https://stripe.com/docs/api/promotion_codes/create
You'll specifically want to use customer and max_redemptions: 1 and that should create a promotion code that can only be used oncec for that specific customer