#paghkman-promotioncode-validation
1 messages · Page 1 of 1 (latest)
@prisma glacier hello! I'm sorry can you try and explain this with a specific example? I don't really get the ask
So, basically lets say we generate unique promotion code for each user and they can share their own promotion code to their friends, so they can get discount.
We want opposite. Just specify a customer who cannot use the promo code
why?
I'm sorry, I'm not understanding this at all
paghkman-promotioncode-validation
What is not clear exactly?
What I am exactly trying to say is To prevent users from using their own promotion codes
If a customer has promotion code to share with others, then that customer should not be able to use it for his own.
There's nothing in the API like this at least. You'd have to handle that validation yourself really
No it's not, I can't imagine us building something like this honestly. It'd be really strange to have a specific way to ban a PromotionCode for one specific Customer
It is not though. It is very common use case in every app I believe. That is basically how referral code sharing works in the apps.
Anyone can just create a new account and use their referral code the same way, like limiting to a customer id won't give you much safety