Jump to content

SSL not working on order confirmation page after PayPal redirect


pel024

Recommended Posts

Hi all

 

When being redirected to the order confirmation page from paypal (v2.8.5) following a purchase a warning pops up saying the form sent is not secure. I have SSL installed and working fine but for some reason it doesn't work on this page.

 

Anyone know how I can fix this?

 

Cheers

Link to comment
Share on other sites

  • 3 weeks later...

use the presto changeo solution>

 

Edit /classes/FrontController.php line #87 (normally, you do not want to change any class file directly, but this is an exception as this will likely be fixed in 1.4.7.1 very soon).

 

Remove the following code

 

else if (Configuration::get('PS_SSL_ENABLED') AND Tools::usingSecureMode() AND !($this->ssl))

{

header('HTTP/1.1 301 Moved Permanently');

header('Location: '.Tools::getShopDomain(true).$_SERVER['REQUEST_URI']);

exit();

}

 

Save the file, and upload to your server.

  • Like 1
Link to comment
Share on other sites

  • 7 months later...

Hi everyone new to the forum but tired from sleepless nights trying to get my shop on line and working, not sure if I am allowed to post my web address but I am having issues similar to the one outlined here. my shop is www.thewitcheswarehouse.co.uk I have had loads of trouble getting it to the stage I am at, I have SSL on my server and turned off all the SSL stuff on Prestashop modules etc. I also have three modules set up for payment "payby check" "paypal" and "google checkout" when I go into front ens as customer to try making an order instead of https://..... I get https://htpps://......... the issue here mentions rewritting the php file mine is a little differand and wonder if the same solution applies mine is : if ($this->ssl AND !(isset($_SERVER['HTTPS']) AND strtolower($_SERVER['HTTPS']) == 'on') AND Configuration::get('PS_SSL_ENABLED'))

{

header('HTTP/1.1 301 Moved Permanently');

header('Location: '.Tools::getShopDomainSsl(true).$_SERVER['REQUEST_URI']);

exit();

}

 

Please can someone help thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...