Tagged: x
-
AuthorPosts
-
February 5, 2017 at 8:35 am #1358598
Hi,
I have created an account in MailChimp and an API key. However, whenever I pop in this key in WordPress – > Email Forms -> MailChimp tab, it disappears without displaying any error message as if nothing is happening.
I have tried to troubleshoot the problem and run the below command in the web server with my own parameters:
curl -v https://us1.api.mailchimp.com/3.0/?apikey=test
I got an HTTP 200 response successfully.
Can you please help me with this?
Thanks
February 5, 2017 at 10:15 am #1358658Hi there,
Sorry to hear that you are having trouble. We would like to check your setup. Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– MailChimp API key.Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.
February 7, 2017 at 1:58 am #1360811This reply has been marked as private.February 7, 2017 at 5:47 am #1360995Hi There,
Please double check the credentials. It is not working.
For the mean time, please check this thread:https://community.theme.co/forums/topic/emailforms-do-not-accept-mailchimp-api-key/#post-816321Hope this helps.
February 11, 2017 at 1:24 am #1366810Hi, sorry I gave you a wrong link.
Can you please try the same credentials on http://www.devlane.com.au/devlane/wp-admin
February 11, 2017 at 5:48 am #1366923Hi there,
Please provide your FTP login credentials as well. Maybe we can get information from the code directly.
Thanks!
February 13, 2017 at 7:08 am #1368812This reply has been marked as private.February 15, 2017 at 2:58 am #1371576Hi,
Can I please get an update on this? It s been 10 days now and the subscription is not working on production. I am receiving complaints.
Thanks for your help.
February 15, 2017 at 2:24 pm #1372428Hi there,
I need FTP login credentials to test the connectivity between your site and MailChimp server.
Thanks.
February 16, 2017 at 4:01 am #1373310This reply has been marked as private.February 16, 2017 at 4:10 pm #1374146Hi there,
This is the issue “API call to /users/profile failed: SSL certificate problem: unable to get local issuer certificate” and your site’s certificate isn’t properly installed.
I added some fixes by implementing cacert.pem and ca-bundle.crt and it still won’t work. Perhaps, it’s using different certificates imposed by the server. Is it windows? Because in linux, you’ll just need to place it in designated folder within WordPress. You may contact your hosting provider about this.
Thanks.
February 19, 2017 at 1:30 am #1376802Hi,
We have just bought a certificate and installed it on the server. The same page is still not responding. How did you manage to dig out that error message? I have turned on the debug.log but nothing is generated.
Thanks.
February 19, 2017 at 5:17 am #1376958Hi there,
The error is captured but not recorded. And what certificate? I was referring to CURL certificate ( http://stackoverflow.com/questions/24611640/curl-60-ssl-certificate-unable-to-get-local-issuer-certificate ) and not the SSL that usually configured for site’s HTTPS.
You can get this error by editing this file \wp-content\plugins\x-email-mailchimp\email-mailchimp\functions\provider.php and find this code
function validate_api_key( $key ) { $result = true; try { $mc_api = $this->make_api_wrapper( $key, true ); $mc_api->call('/users/profile', array() ); } catch ( Mailchimp_Invalid_ApiKey $e ) { $result = new WP_Error( 'x-mailchimp', __( 'Invalid API key.', '__x__' ) ); } catch ( Exception $e ) { $result = new WP_Error( 'x-mailchimp', sprintf( __( 'Error while attempting to validate API key: [%s]', '__x__' ), get_class( $e ) ) ); } return $result; }
Then add this line
var_dump ( $e );
under this line
} catch ( Exception $e ) {
The $e holds the error information. Then validate your API key again in the admin and it will display the error. You may forward this to your hosting provider.
Thanks!
-
AuthorPosts