Problem with SSL certificate in checkout

This topic has 13 replies, 4 voices, and was last updated 8 years, 8 months ago ago by Eva Kemp

  • Avatar: maccandy
    maccandy
    Participant
    August 13, 2015 at 21:08

    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

    Please, contact administrator
    for this information.
    12 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    August 14, 2015 at 08:02

    Hello,

    Please provide us with wp-admin panel and FTP credentials in Private Content.

    Regards,
    Eva Kemp.

    Avatar: maccandy
    maccandy
    Participant
    August 15, 2015 at 23:05

    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

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    August 17, 2015 at 08:32
    Avatar: maccandy
    maccandy
    Participant
    August 18, 2015 at 01:33

    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

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 18, 2015 at 07:12

    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.

    Avatar: maccandy
    maccandy
    Participant
    August 18, 2015 at 08:31

    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

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 18, 2015 at 11:13

    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.

    Avatar: mignon
    mignon
    Participant
    August 18, 2015 at 19:27

    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?

    Avatar: maccandy
    maccandy
    Participant
    August 18, 2015 at 21:08

    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

    Avatar: Eva
    Eva Kemp
    Support staff
    August 19, 2015 at 08:06

    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.

    Avatar: maccandy
    maccandy
    Participant
    August 20, 2015 at 00:35

    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

    Avatar: Eva
    Eva Kemp
    Support staff
    August 20, 2015 at 08:03

    Hello,

    We’re glad you’ve managed to resolve the problem.
    If there are any questions let us know.

    Regards,
    Eva Kemp.

  • Viewing 13 results - 1 through 13 (of 13 total)

The issue related to '‘Problem with SSL certificate in checkout’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.