#nemz-coupons
1 messages · Page 1 of 1 (latest)
@frosty skiff yeah, I recall that the docs on this point are not very accurate unfortunately, other people have been confused.
I don't think there's a clean way to implement this really, I'd have to sit down and test it some more, since I don't remember the conclusions I reached the last time I looked into this
that's fine I realise it's a very specific question, so thanks anyway
I'm looking into it, will just take a bit!
okay thanks! I wondered if it's just the default behaviour that a customer can only redeem a coupon once
I'm pretty sure though the answer was you need to pass customer when creating the PromotionCode
that's the part the docs are not clear about. You'd create the Coupon with 50 redemptions, and then create a PromotionCode on a per-customer basis using https://stripe.com/docs/api/promotion_codes/create#create_promotion_code-customer, with 1 redemption each
of course then the obvious complaint is that doesn't make sense since then you have to give each customer a separate code instead of just sharing one on your social media or so on, but it can work in some use cases