#ripitried
1 messages · Page 1 of 1 (latest)
I'm fine doing this via the API or the dashboard, but preferably API
Currently there isn't a way to limit a coupon to only be limited to once per customer - the closest we have is limiting it to first time transactions (https://stripe.com/docs/api/promotion_codes/create#create_promotion_code-restrictions-first_time_transaction)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
sorry, is there some nuance here between promo code and coupon
Sorry let me clarify - promotion codes would be the user-facing thing that your customers could enter during the checkout session
No, there's no way to do that (I already mentioned that the closest thing would be limiting it to first time transactions)
ok then what does max redemptions do
"maximum number of times this promotion code can be redeemed"
Can I make max redemptions 1 and specify a customer and then it can only be used 1 time by that specific customer right
That's true - but then you'd have to create a new promotion code for every customer
(If you're okay with that then I think that'll work)
thats painful but I guess it'll do
so max_redemptions will work across multiple checkout sessions right
Correct!