I am using the ‘AHEE__EE_Registration_Processor__trigger_registration_update_notifications’ hook per documentation to push information into hubspot with a php script I created. The issue we’re having is that only the last event ID is being stored and pushed into hubspot. When I run this script, is there a way to get all the event IDs a user is signing up for with that hook?
$registration->event()->ID(); is only holding last event in the their list.
You should be able to get all of the registrations that belong to the same transaction by using the transaction() method that’s available with that $registration object.
Viewing 1 reply thread
The support post ‘Multiple Event Registration & EE_Registration Hook’ 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.