Support

Home Forums Event Espresso Premium Multiple Event Registration & EE_Registration Hook

Multiple Event Registration & EE_Registration Hook

Posted: August 2, 2016 at 2:42 pm

Viewing 1 reply thread


Ryan Short

August 2, 2016 at 2:42 pm

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.


Josh

  • Support Staff

August 3, 2016 at 8:58 am

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.

Event Espresso