Support

Home Forums MailChimp Integration Mailchimp Add on not accepting API

Mailchimp Add on not accepting API

Posted: November 29, 2018 at 11:49 am

Viewing 16 reply threads


Dasnyde4

November 29, 2018 at 11:49 am

Hi,
I followed the directions and pasted my API from wordpress into the event expresso Mailchimp add-on. I save it and keeps getting an X. Is there something I need to do first before event expresso accepts the API?


Josh

  • Support Staff

November 29, 2018 at 11:54 am

Hi,

You’ll actually need to get an API key from MailChimp. Here’s their documentation for where to find that API key:

https://mailchimp.com/help/about-api-keys/#Find_or_Generate_Your_API_Key


Dasnyde4

November 29, 2018 at 11:55 am

Hi. I already have created an API. It keeps saying invalid when I paste it in. Not sure why.


Josh

  • Support Staff

November 29, 2018 at 12:29 pm

So to be clear, you’ve created and obtained an API key from your MailChimp account? The reason I ask is because this support topic started with:

I followed the directions and pasted my API from wordpress

So if the API key came from WordPress, you’ll need to get a key from MailChimp.

If the API key came from MailChimp, then it may be the web server has the cURL module disabled. The MailChimp add-on requires the cURL module.

You could check with your web host to see if the cURL module is enabled. Or if you want to find that information yourself, you can install the WordPress Health Check plugin, then go to the site’s Dashboard > Health Check > PHP Information then locate the section “curl” and there will be a row that has “cURL support” followed by either “disabled” or “enabled”.


Dasnyde4

November 29, 2018 at 12:44 pm

Sorry that is a typo. I have a mail chimp account. I’ve created an API. I pasted the API code into event expresso. It says invalid API when I save it.


Dasnyde4

November 29, 2018 at 12:47 pm

I just checked and it says curl enabled


Josh

  • Support Staff

November 29, 2018 at 12:50 pm

Could you try a different API key?


Dasnyde4

November 29, 2018 at 12:51 pm

I’ve tried three and all say invalid. I don’t understand it as I’ve used them before with the site before I had event expresso installed.


Josh

  • Support Staff

November 29, 2018 at 1:00 pm

May I ask are there any other MailChimp plugins activated on the site at the moment?


Dasnyde4

November 29, 2018 at 1:03 pm

Not a plugin but Optforms is using Mailchimp but as a form action URL


Josh

  • Support Staff

November 29, 2018 at 1:56 pm

You mentioned there were prior uses of MailChimp API keys on that site. Are any of those available to try now?


Dasnyde4

November 30, 2018 at 5:55 am

They are. I tried that one and a new one and still get invalid


Dasnyde4

November 30, 2018 at 5:56 am

If it helps solve the problem, I am unable to update the event expresso plugin. I get a Update Failed: Download failed. cURL error 7:


Josh

  • Support Staff

November 30, 2018 at 7:26 am

Curl error 7 means the server has some firewall or restriction issues. Can you contact your web host and share this information with them? You can even copy & paste the following message if that helps:

I am currently installing code on my site which relies on the PHP CURL module. Can you please confirm the following things?

– PHP CURL is updated to at least version 7.35
– Requests to https://*.api.mailchimp.com/ are not blocked
– Requests to https://eventespresso.com/ are not blocked

Thanks in advance!


Dasnyde4

November 30, 2018 at 8:00 am

Here is the response…
PHP cURL is currently enabled for your account and its version is 7.60.00. I can also see that the IP at which eventespresso.com is hosted – 23.38.91.37 is whitelisted for outgoing connections, from the control panel at ‘Advanced->Outgoing Connections’. I can’t find which IP addresses are used for all subdomains of api.mailchimp.com, so I can not confirm that outgoing requests to them are not blocked. If you want to make sure about that, you should ask Mailchimp to provide you with a list of the IPs that need to be whitelisted, and then you can compare them with the list of allowed outgoing connections from the control panel at ‘Advanced->Outgoing Connections’.


Josh

  • Support Staff

November 30, 2018 at 8:49 am

Maybe they can check the access logs for when you tried to connect with the MailChimp API, and when you tried to update the EE plugin?


Dasnyde4

November 30, 2018 at 9:02 am

For some reason it all started working. No idea why, but I’ll take it. Thanks for your help!

Viewing 16 reply threads

The support post ‘Mailchimp Add on not accepting API’ 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