- This topic has 3 replies, 2 voices, and was last updated 13 years, 3 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Mailchimp Intigration
Hi,
I ran into a problem with mailchimp integration. I ran tests using a squeeze sign up and looked at the debug results. After some research I determined that in the wp-eMember/eMember_auto_responder_settings.php, the list name was not populated properly, it read as target_list_name, but should have been id (http://apidocs.mailchimp.com/api/1.2/listsubscribe.func.php)
I made the change in the php. In the first line below I have placed id in place of target_list_name, and it works, trials end in list sign ups. On review I noticed another place where it notes the target_list_name (last line below)
Should this be changed too? I usually think that if it works, leave it alone, but I don’t want to have problems later
function eMember_mailchimp_subscribe($api,$id,$fname,$lname,$email_to_subscribe)
{
$lists = $api->lists();
foreach ($lists AS $list)
{
if ($list == $target_list_name)
Thank You
You should not have to change any code in the plugin to get MailChimp integration to work. The plugin is capable of retrieving the ID of a list from the list name that you specify. What version of the plugin are you using?
Version 5.7.4
Please revert any changes you did. Best option is to load it with a fresh build of the eStore plugin from here:
https://support.tipsandtricks-hq.com/update-request
Once you have the fresh build loaded please do what it says on this page:
share the content of the debug file and I will be able to tell you what the actual issue is.