Support » Plugin: Eventbrite API » 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:

    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m editing a template to show some instructions and only the ticket form, which is the eventbrite_ticket_form_widget() function.

    Possible to pass a discount code into this function to have it apply by default?

    Plugin Author Automattic


    Hi macardam,

    I can’t think of how to have a code applied automatically, since the ticket widget (where the code needs to go) is an iframe. There might be a JS solution out there, but I’m afraid nothing the plugin already does could handle that :/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘assign discount code on load?’ is closed to new replies.