I am passing registration information into ActiveCampaign via WP Fusion. All is working well, except for one issue I cannot figure it. Often, people register for our events, but their registrations are processed and paid for by someone other than themselves, such as their administrative assistants. The registration information is passing to ActiveCampaign without a hitch, but I’m trying to pass the billing information to ActiveCampaign as part of the attendee’s contact record, so that the attendee’s contact record will include both registration information and billing information.
This may be possible but will require some custom PHP code. I’m not familiar with WP Fusion and its hooks to know what this would involve exactly, but there should be some developer documentation.
Depending on the method of payment, the billing information data for the attendee can be found in the wp_postmeta table. Attendees in EE are actually custom post types, so getting billing data works very similar to getting custom field data for other post types.
So if you have the attendee ID, and the meta_key (based on the payment method, e.g. a payment with Stripe would have meta_key billing_info_Stripe_Onsite, then the meta_value will be a serialized array of billing address details.
As a reference, the EE_Attendee class has a helper method that shows an example of getting the billing information for an attendee. Here’s a link to its source:
The support post ‘Pass Billing Information Into ActiveCampaign Contact Record’ 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.