MailChimp

How can I push sys_accounts -> 'ip' filed to Mailchimp alongside the account details?

I've made the following changes on the method BxMailchimpModule:: serviceGetLists() but it does not seem to work:

return array (
  'email_address' => $oAccount->getEmail(),
  'status' => $aInfoAccount['receive_news'] ? 'subscribed' : 'unsubscribed',
  'ip' => $aInfoAccount['ip'],
  'merge_fields' => $aMarkers
);

any idea, what's wrong with that?

  • 588
  • More
Replies (1)
    • Hello Scholar !

      Please provide us the way how did you get the $aInfoAccount array. Try to get the profile data with the serviceGetContentInfoById method (it will be called there as "profile_ip").

      Login or Join to comment.