Home Forums Event Espresso Premium SSL error on payment confirmation SSL error on payment confirmation

Posted: April 8, 2014 at 8:40 am


April 8, 2014 at 8:40 am


I have the latest version of WP and EE3 i am integrating with SIM and i DID not force SSL. However after the payment is made and loads up the payment confirmation page my website freaks out due to the fact that it’s trying to load the page in HTTPS and there are some jquery and css that’s not https.
I tried using some plugins to force HTTPS but the theme does not seem to cooperate. Is there a way to disable the SSL calls?


  • Support Staff

April 8, 2014 at 8:57 am

Hi Andriy,

The short answer is no, because the Payment return page loads up on’s server, and they load up the receipt page as https. You’ll notice that the URL is from We generally recommend installing an SSL certificate for the domain and setting the return page to load securely so that all the pages assets like CSS and JavaScript can load as https to avoid this in some browsers (some browsers will still load the non-secured assets).

There are workarounds to this, for example you could try a custom page template for the Thank You page that loads in the theme’s CSS inline onto the page, or even a minimal set of styles.

Glen Roethel

April 9, 2014 at 2:32 pm

Would you please post the body code for a custom WP template page (that I will make) incorporating a “minimal set of styles” for a standard EE3 “Thank You” response? You have mentioned this solution so many times, I’m sure you (or another coder) have created this to work around this very basic problem.
Thank you!
~ Glen

Lorenzo Orlando Caum

  • Support Staff

April 9, 2014 at 2:48 pm

Hi Glen,

This customization would have to be applied on a per theme basis.

Modern browsers such as Google Chrome will block the CSS from loading over http on an https page. This may also happen with other resources such as javascript that the theme may be using.



  • Support Staff

April 9, 2014 at 6:46 pm

Lorenzo is right, this is something where you’d take your basic theme’s templates and stylesheet:

page.php or index.php

and basically combine them into one page, with the styles added inline. This gist shows an example of a minimal page template that’s based on the Ice Cap theme:

A custom page template can be uploaded to your theme, then selected in the page editor for the Thank you page by following this guide:


April 15, 2014 at 8:20 am

Hello, I do have a SSL but in wordpress it’s tricky to direct certain things through ssl and not others.. i don’t want my entire site to use https:// … so now i am running into an issue where the confirmation page image is NOT being displayed via SSL .. i think if i change that inside EE code then i’ll be ok.
I need to make EE to use accept.png image via https and not http….

Can you point me to where I can change this URL

			&lt;td&gt;Amount Paid/Owed:&lt;/td&gt;
			&lt;td&gt;$10.00				&lt;img align=&quot;absmiddle&quot; src=&quot;; width=&quot;16&quot; height=&quot;16&quot; alt=&quot;Completed&quot; title=&quot;Completed&quot; /&gt;			&lt;/td&gt;
				Payment Status:			&lt;/td&gt;


April 15, 2014 at 8:29 am

After further testing.. the “accept.png”image seems to be be only problem.. If i can just force it to load off https it’ll solve my errors.. where is the code to do that .. thanks!

Lorenzo Orlando Caum

  • Support Staff

April 15, 2014 at 9:36 am

Hi Andriy,

Could you try this plugin out:



April 15, 2014 at 11:20 am

Hello, my organization is running a network appliance where all of our servers are able to use http and https covered by the wildcard certificate so my server does not have ssl installed however it works just fine when user tries accessing the site with https.
The problem persists however even when i use the above mentioned plugin probably because i do not want to change my wordpress url to https from http and the “accept.png” image on the transaction result page is still being loaded insecurely which messes up my entire page.

Can you please tell me where i can find that and change it to https so that i don’t have to hunt through code.



  • Support Staff

April 15, 2014 at 12:27 pm

Hi Andriy,

The quick way to find something in the code is to do a Find all in project using an IDE.

That said, I think you’ll end up breaking other things and have to do unnecessary maintenance if you change the code directly in the function that handles the paid status icons.

Instead, I can recommend using a content filter where you change the image URL for the icons to https. Here’s something you can add to your custom file add-on’s custom_functions.php file or in a custom snippet plugin


function my_change_payment_status_icon_url ( $content ) {

	$wp_plugin_url = str_replace('http://', 'https://', WP_PLUGIN_URL);

	$content = str_replace( '<img align="absmiddle" src="' . EVENT_ESPRESSO_PLUGINFULLURL . 'images/icons/', '<img align="absmiddle" src="' . SECURE_EVENT_ESPRESSO_PLUGINFULLURL . 'images/icons/', $content);

	return $content;


add_filter( 'the_content', 'my_change_payment_status_icon_url', 11 );

The support post ‘ SSL error on payment confirmation’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: closed

Updated by  Josh 6 years, 1 month ago ago

Topic Tags

Tagged: ,


This topic is: resolved
Do NOT follow this link or you will be banned from the site!