I’m using the SINGLEEVENT shortcode to show a registration form on a page of my site. I’m also using the members plugin. The issue is that users should only be able to get one ticket each, but when they visit the page, they can keep registering over and over again. What i’d prefer is that if a user submits that form, it would update their existing ticket (changing some information like names) instead of creating a new one. Is this possible? The other thing i’m debating is just using SQL to delete any tickets that the user already has when they submit the form. Does anyone have suggestions on a “proper” way to do this?
The use is a little more complicated than i had mentioned. The list of attendees/tickets is already set, people are essentially just RSVPing and optionally including a name for a +1/guest. I have loaded the guest list into wordpress as users and they’re logging in and RSVPing to an event that is only viewable to them. I’m firing off an ajax call when they click the RSVP yes button and creating a ticket using their information (name/email). What I’d like to do is to update the name of the +1 or confirmation email address when they revisit the site, instead of creating a new ticket each time. I figured the simplest way to do that would be to just invalidate/delete the old ticket. Does that sound right? Custom coding isn’t an issue for me, but i’d like to make sure there isn’t a simpler, built-in, way of doing this before i go that route.
There isn’t a simpler built in way to do it, so you will need to find a custom solution. Sorry about that.
Viewing 3 reply threads
The support post ‘[EE3] Update existing ticket instead of submitting a new one.’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.