Support

Home Forums Event Espresso Premium EE4 together with mailchimp plugin

EE4 together with mailchimp plugin

Posted: February 23, 2016 at 11:00 am


Jakob Naredi

February 23, 2016 at 11:00 am

Hi,

Im using EE4 (last version, 4.8.34.p) togehter with Easy Forms for MailChimp by YIKES (last version, 6.0.4.2). When trying to submit the mailchimp plugin form we got an EE4 error.

Please look at:
https://skeppsholmsgarden.se/kurser/snickerikurser/kvallskurser-i-snickeri/

It should be under “Intresseanmälan”.

Thanks,
Jakob


Lorenzo Orlando Caum

  • Support Staff

February 23, 2016 at 12:13 pm

Hello,

That is happening at the MailChimp plugin appears within the ticket selector code — specifically the form. When you submit the mailchimp form, then its triggering the ticket selector even though the tickets are sold out.

How is the form being added to the page?


Lorenzo


Jakob Naredi

February 24, 2016 at 1:19 am

Hi,

The strange thing is that it worked before. It’s added like this:

Kurstillfällen våren 2016

[ESPRESSO_TICKET_SELECTOR event_id=’619′]

Intresseanmälan

Passar inte datumen? Gör gärna intresseanmälan nedan.

[yikes-mailchimp form=”5″ submit=”Skicka”]


Lorenzo Orlando Caum

  • Support Staff

February 24, 2016 at 7:21 am

Thanks Jakob. I setup the Yikes MailChimp plugin and then added the ticket selector shortcode to a page and the shortcode for an optin form under it and they are not overlapping:

http://cl.ly/2I2H170C3Q0P

Could you switch to the text editor in the page editor and check to see if there are any errant html tags?

If there are none, then please try this:

https://gist.github.com/anonymous/d527a2301b141d909aec

You can copy and paste into the editor in text mode and then save changes.


Lorenzo


Jakob Naredi

February 25, 2016 at 6:41 am

In the html-mode there is noting that disturb:
<h2>Kurstillfällen våren 2016</h2>
[ESPRESSO_TICKET_SELECTOR event_id=’619′]

<hr />

<h2>Intresseanmälan</h2>
Passar inte datumen? Gör gärna intresseanmälan nedan.

[yikes-mailchimp form=”5″ submit=”Skicka”]


Jakob Naredi

February 25, 2016 at 6:45 am

Putting in this code didn’t help: <div style=”clear-both”></div>

I´m still redirected to https://skeppsholmsgarden.se/kassa/?ee=ticket_selection_received#checkout

Now I realise the problem is probably by the Mailchimp plugin. There are other things that doesn’t woork. Will report back!


Jakob Naredi

February 25, 2016 at 7:37 am

The problem was that we had a new SSL-crtificate that wasn’t supported by Mailchimp API. That occured an error in MailChimp by YIKES.

I found it when I got this message:
API call to /lists/subscribe failed: SSL certificate problem: unable to get local issuer certificate

Solution found here:
http://redwebturtle.blogspot.nl/2013/09/mailchimp-api-v20-ssl-error-solution.html


Lorenzo Orlando Caum

  • Support Staff

February 25, 2016 at 7:39 am

Hi Jakob,

Now I realise the problem is probably by the Mailchimp plugin. There are other things that doesn’t woork. Will report back!

What else isn’t working?


Lorenzo


Jakob Naredi

February 25, 2016 at 7:41 am

It was other thing with the YIKES plugin.


Tony

  • Support Staff

February 25, 2016 at 7:43 am

Hi Jakob,

Which solution did you use?

If you are suing curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); your basically disabling the verification of your ssl certificate which in the long run is not a good idea.

The other option is to update your root CA certificate to make sure it has the latest signatures.


Jakob Naredi

February 25, 2016 at 7:53 am

Hi again,

We put this our functions.php:

/*
*  Disable SSL Verify Host/SSL Verify Peer on CURL requests
*  only effects for Easy Forms for MailChimp by YIKES
*/
function yikes_mailchimp_disable_ssl_verfiy_host_and_peer( $ch ) {
	curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
	curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
}
add_action( 'yikes-mailchimp-api-curl-request', 'yikes_mailchimp_disable_ssl_verfiy_host_and_peer' );
?>


Tony

  • Support Staff

February 25, 2016 at 8:36 am

So yeah that’s basically disabling any kind of verification of the SSL cert when using Yikes.

I’d recommend updating your root CA certificates and see if that fixes it over that, although its up to 🙂

The support post ‘EE4 together with mailchimp plugin’ 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