Found this in another forum and it works.
This is the header for the forum
[workaround] SSL stops redirect to Paypal using API
I found it!
The 1.4.7.0 release added code to the \classes\FrontController.php file starting on line 87. Below are temporary changes to make until an updated file is issued by the Prestashop team. I grabbed a few lines prior to and after the comments to make it easier to find.
if ($this->ssl AND !Tools::usingSecureMode() AND Configuration::get('PS_SSL_ENABLED'))
{
header('HTTP/1.1 301 Moved Permanently');
header('Location: '.Tools::getShopDomainSsl(true).$_SERVER['REQUEST_URI']);
exit();
}
/*
* Rhapsody Commented out offending code that breaks SSL redirect with Paypal
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();
}
* * * end of Rhapsody Commented out offending code that breaks SSL redirect with Paypal **
*/
ob_start();
/* Loading default country */
$defaultCountry = new Country((int)Configuration::get('PS_COUNTRY_DEFAULT'), Configuration::get('PS_LANG_DEFAULT'));
$cookieLifetime = (time() + (((int)Configuration::get('PS_COOKIE_LIFETIME_FO') > 0 ? (int)Configuration::get('PS_COOKIE_LIFETIME_FO') : 1)* 3600));