Page 1 of 1

Mailchimp integration

PostPosted: May 12th, 2010, 10:11 pm
by nigelburke1
I'm not able to get the mailchimp integration working for some reason. I have entered my API Key and list Id. However new sign-ups are not flowing through to Mailchimp.

Any suggestions of what I should be looking for?

I only have free subscribers at the minute



Nigel Burke
http://www.rusdens.com

Re: Mailchimp integration

PostPosted: May 12th, 2010, 11:11 pm
by Jason Caldwell
Hi Nigel. Thanks for reporting this important issue.

A bug related to Free Subscribers and List Server integrations, including MailChimp®, has been resolved in s2Member v2.9.4. See this post. viewtopic.php?f=4&t=62

Re: Mailchimp integration

PostPosted: May 18th, 2010, 8:18 am
by warzan
Im using the latest release and i cant get it working

HOWEVER...

Im using the piece of code you gave me to paste into my functions.php to make the default userlevel be 'subscriberlevel1'

Any ideas?

Cheers

Warren

Re: Mailchimp integration

PostPosted: May 18th, 2010, 12:07 pm
by xorred
I'm using 3.0 and can't get it working for any subscriber level either.

NO matter what I do, mailchimp does not get absolutely any notification and nothing happens... although all settings are supposed to be correct - api key and list ID are entered. The user sees a checkbox "stay updated" on registration, and he checks it (it's checked by default too) - and nothing happens, he does not get listed in mailchimp.

Re: Mailchimp integration

PostPosted: May 19th, 2010, 4:01 am
by Jason Caldwell
Hi there. I can confirm this is working in s2Member v2.9.4+, including s2Member v3.0+.

Are you sure that you've got the right List IDs?
Also check your API Key, just to make sure it's correct.

If you're sure that both of these configuration values are correct, please make sure that your server has allow_url_fopen enabled. You can check this by creating a new PHP file, name it: phpinfo.php. Inside that file, put the following line:

Code: Select all
<?php phpinfo(); ?>

Upload the file, and open the page in a browser. Search for allow_url_fopen and see if it's enabled. If it's off, that is the problem. If you're on GoDaddy, this is probably the case. GoDaddy disables this by default, you have to turn it on. Try creating a new file, name it: php.ini, and inside put this line:
Code: Select all
allow_url_fopen = on

Upload php.ini to the public_html directory for your site, via FTP.

Re: Mailchimp integration

PostPosted: May 19th, 2010, 4:03 am
by Jason Caldwell
Thanks for reporting this. In the next release of s2Member, we will add a work-around for the "allow_url_fopen" issue. The MailChimp® API relies on this, s2Member does not. s2Member uses cURL, which is better. We'll modify the MailChimp® API in the next release; which will prevent this issue from creeping up.

Re: Mailchimp integration

PostPosted: June 16th, 2010, 7:42 am
by warzan
Hi Jason

This still isn't working for me.

We are running the latest version and have given it the api key etc. but no joy

Warren

Re: Mailchimp integration

PostPosted: June 16th, 2010, 10:19 am
by warzan
Just to update.

Mailchimp hasent recorded any API access attempts. None seem to be being made.

allow_url_fopen is on, on our server.

Bit confused now :)

Re: Mailchimp integration

PostPosted: June 19th, 2010, 1:47 pm
by Jason Caldwell
As of s2Member v3.0.5+, the MailChimp API ( modified by me, and packaged with s2Member ), is no longer dependent on allow_url_fopen. Please update to the latest version and try again.

Also, if that does not fix the problem. Please make sure that you've configured the MailChimp integration so that it has List IDs for each of the 5 levels [0-4]. If you register under Level #2, and your MailChimp List IDs are only configured for Level 0, and Level 3, s2Member will NOT process the request.

Hopefully this corrects the problem. I've tested this with WP 3.0 and s2Member v3.0.5 and everything works as expected. Please report back if you can. ~Thanks for your patience!