assign discount code on load?
-
I have ~500 active paying users on a client site. Each of these users has a unique code in a field in user meta. I created an event on EventBrite and the unique code for each user has been added as a one time use promo/discount code. I don’t see much about discount codes in this API and am wondering if it’s possible to automatically assign a code for an event on my website if a user is logged in?
I guess kind of similar to how I can use a parameter when sending people to EventBrite, like: https://www.eventbrite.com/e/my-event?discount=SOMECODE
By doing that, the code SOMECODE is automatically applied when the event loads and prices/tickets change accordingly. The user doesn’t have to input anything.
I’d like to keep people on my site and while I can instruct them to use their code and manually enter it by clicking “Enter Promotional Code”, I would prefer if this was done automatically.
Is this possible?
- The topic ‘assign discount code on load?’ is closed to new replies.