Support

Home Forums Event Espresso Premium Pass Billing Information Into ActiveCampaign Contact Record

Pass Billing Information Into ActiveCampaign Contact Record

Posted: February 24, 2020 at 3:35 pm

Viewing 1 reply thread


LeadWorks

February 24, 2020 at 3:35 pm

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.

Is this possible?


Josh

  • Support Staff

February 24, 2020 at 7:16 pm

Hi,

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:

https://github.com/eventespresso/event-espresso-core/blob/29520b5e0a9fd7afc90cb0fcb32267bbfc27f36c/core/db_classes/EE_Attendee.class.php#L622

Viewing 1 reply thread

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.

Event Espresso