Posted: September 19, 2024 at 9:47 am
Hello 🙂 We use Event Espresso + WP Fusion + Groundhogg (CRM) WP Fusion connects Event Espresso to Groundhogg, it passes the user’s data (name, ticket price, event start date) to their Groundhogg profile. We are experiencing a problem where the Event Start Date field in Groundhogg is not populating for Additional Registrants. Works just fine for the Primary Registrant, though. A developer did write this custom code and I am having a look at your developer docs to see if anything stands out that may be preventing the Start Date field from populating in Groundhogg:
$ticket_price = ''; try { } catch ( EE_Error|ReflectionException $e ) { try { // Get the primary datetime object for the event // Get the event start and end times using the EE_Datetime methods try { } catch ( EE_Error|ReflectionException $e ) { try { // Get the people objects assigned to event // Get the first and last name of each person // Concat the instructors comma separated } catch (EE_Error|ReflectionException $e) { // Add the ticket price to the GroundHogg customer data. // Return the updated customer data. WP Fusion support said the following: “Your start date is coming from Event Espresso with the time included twice: “09:00:00 9am” This is an invalid date format, and so WP Fusion can’t convert it before syncing to Groundhogg.” I will continue to dig but wanted to reach out here in case anything jumps out to you. Thanks! 😀 -Anna |
|
Is customer data processed differently for Additional Registrants? |
|
Hi there,
Does the same thing happen if you test a registration without this custom code being active? This part doesn’t make sense to me:
Is that separate from the code above? It doesn’t make sense in the current context as the datetime formats are passed to the methods used, for example:
Is going to give you the start date in that format regardless of the value. —
In what way? They are looped over and processed in the same way but they are treated as additional registrants… but that does NOT mean they would have a different datetime value. —- So to clarify here, is the issue here from the custom code above or WPFusion processing? You’re asking if we process the data differently, but it’s not EE that’s processing this, it’s WPFusion and your custom code from what I can tell? |
|
The support post ‘Incorrect Date Format for Additional Registants’ 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.