Support

Home Forums Event Espresso Premium Custom form Post to create Ticket booking

Custom form Post to create Ticket booking

Posted: April 27, 2021 at 7:09 pm


TTBC

April 27, 2021 at 7:09 pm

Was wondering if there was a way I could post some data from a custom form on the website so that it creates an approved attendee record. the main reason is so that

The idea is that from time to time we want to invite a VIP along to an event that has a free ticket and all we need to collect from them is a method to post a first-name, last-name, email address (hidden fields – event_id, ticket_id) to EE so that it will create an approved attendee record for an event.


Tony

  • Support Staff

April 28, 2021 at 2:39 am

Hi there,

Possible, yes, but you are basically building your own checkout process which is not something we have an example of doing.

So you could use the Model System within a custom callback for your form to do this but EE doesn’t have this functionality built-in.

If it were me I’d look into how the EE attendee importer add-on (which basically just takes a CSV of data and created registrations from it) imports registrations as there is a fair bit involved in creating all of the data needed (see HERE) and then work from there.

Doing this correctly will take some understanding of how EE_Registrations work within EE, another option is to just use a form with the details you mentioned above (including the hidden ticket/event id) which then just emails the event admin who then creates the registrations manually within the admin.

You must be logged in to reply to this support post. Sign In or Register for an Account

Do NOT follow this link or you will be banned from the site!