This topic has 13 replies, 4 voices, and was last updated 9 years, 4 months ago ago by Eva Kemp
Hello,
i have activated SSL in Woocommerce plugin for the secure checkout. I installed a SSL certificate via my webhoster and it is active.
In the checkout process, I get the error message in the certificate (info in browser input field), that there are ressources on the page which are not secure.
The hoster said, that the images are the problem, because they come via http, not https.
So my question is, where can I change/configure this to get a secure checkout process?
thx and kind regards
maccandy
Hello,
Please provide us with wp-admin panel and FTP credentials in Private Content.
Regards,
Eva Kemp.
Hello,
find the credentials in private content.
I found as well that during the checkout process, the https switches to http at one page and then at next page back to https.
thx
maccandy
Hello,
There is “Mixed Content” error on Checkout page.
To fix it please refer to these articles:
https://www.clickssl.com/blog/how-to-fix-mixed-content-warning-other-ssl-settings-in-wordpress
https://wordpress.org/plugins/ssl-insecure-content-fixer/
http://presscustomizr.com/support-forums/topic/mixed-content-warnings-when-using-ssl/
http://wordpress.stackexchange.com/questions/185257/images-causing-mixed-content-with-ssl
Regards,
Eva Kemp.
Hello,
the Logo and the Favicon cause the error with the SSL. They are both configured via 8Theme admin panel, so it seems to be an error that they will not be delivered with https, every other image has https in the URL.
kind regards
maccandy
Hello,
The reason is SSL certificate works only for Checkout page, not for whole site and you uploaded logo and favicon via Theme Options > General > Header Settings. As you can see when you upload images the link for them is http, not https:
http://storage6.static.itmages.com/i/15/0818/h_1439878304_6447617_58684e0dc9.png
So you have to use SSL certificate for whole site.
Best regards,
Jack Richardson.
Hello,
but
1. SSL for the whole site slows down the site, or?
2. To use SSL in checkout is a normal case for ecommerce sites, so I think, a woocommerce/ecommerce theme has to support the SSL checkout only because it is an standard woocommerce feature.
3. So if using the logo upload via the 8theme Options panel isn’t the right way for using a SSL checkout, what is the correct way to insert the logo?
thx and kind regards
maccandy
Hello,
I’ve edited the file theme-functions.php in the directory wp-content/themes/classico-child/framework and replaced the code <?php echo $logo_src; ?>
(line 177), <?php echo $logo_fixed_src; ?>
(line 178) with the link to your logo image.
Now “Mixed Content” errors has disappeared and the page is secure:
http://storage6.static.itmages.com/i/15/0818/h_1439892753_4174690_5d7c36a973.png
Please clear browser cache and check.
Best regards,
Jack Richardson.
Will this code be updated in the next update to avoide the SSL checkout issue? Or does everyone who wants to use a secure ssl checkout need to add this code in the child-theme?
Hello,
now it works perfect, thank you for your help. But I also have the question, if this code/fix will be part of the next theme update?
thx
maccandy
Hello,
Unfortunately this code has to be added in the child theme. Such fix won’t be implemented in the next theme update.
Sorry for inconveniences.
Regards,
Eva Kemp.
Hi,
one additonal info if someone uses the favicon, there is the same SSL problem.
To fix it, go to line 573 in wp-content/themes/classico-child/framework and replace the URL with the URL of the favicon. Then delete the favicon in the 8theme options to use this case of the if-then-else code. Afterthat the SSL error disappears.
greetings
maccandy
Hello,
We’re glad you’ve managed to resolve the problem.
If there are any questions let us know.
Regards,
Eva Kemp.
The issue related to '‘Problem with SSL certificate in checkout’' has been successfully resolved, and the topic is now closed for further responses