#paghkman-promotioncode-validation

1 messages · Page 1 of 1 (latest)

upper shoalBOT
rustic roost
#

@prisma glacier hello! I'm sorry can you try and explain this with a specific example? I don't really get the ask

prisma glacier
#

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.

rustic roost
#

is that what you want?

prisma glacier
#

We want opposite. Just specify a customer who cannot use the promo code

rustic roost
#

why?

#

I'm sorry, I'm not understanding this at all

#

paghkman-promotioncode-validation

prisma glacier
#

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.

rustic roost
#

There's nothing in the API like this at least. You'd have to handle that validation yourself really

prisma glacier
#

I see

#

Okay thank you

#

Just a question, is this something on roadmap ?

rustic roost
#

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

prisma glacier
#

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.

rustic roost
#

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