We are trying to implement the event registration on our react frontend.
I’m able to get the event and ticket information event example. When click register now button, it will have popup displaying a form to collect answers and fname, lname etc..
Currently not trying API method as it requires authentication.
I generated basic registration record with following test code. It shows incomplete in the event registrations list, I know it should include other related information but not sure how to add them:
$transaction = EE_Transaction::new_instance();
$transaction->set_status('RAP');
// add ticket object to transaction or in registration object below?
$transaction->save();
$transaction_id = $transaction->ID();
Thanks for contacting us.
Our support covers just questions on how to use, bugs, and quick customizations of Event Espresso. Since it’s a third-party implementation in your React front end, we are not able to provide support for custom codes. We recommend to Hire an Event Espresso Consultant.
Viewing 1 reply thread
The support post ‘Creating registration for an event programmatically using db models?’ 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.