Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shopping cart SSL enabled not working - Shopping cart SSL disabled then works okay?!?


OSTastic

Recommended Posts

Hi,

 

I'm having trouble with the website hosted on my new website. I'm trying to put this website live but unfortunately when enabling the SSL the shopping cart empties when the site switches to the third party secure server. I've set SSL to false and all works fine, I can complete a full purchase through to my payment provider fine.

 

sessions are stored on mysql database, part of configure.php seen below:

 

define('HTTP_SERVER', 'http://www.domain.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://third.secure.net/~domain'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', 'third.secure.net/~domain');

 

I've used the same code from one of my other sites, so it's not like I've added any changes. Could this fault be with my hosting company?

 

Thanks,

 

James

Link to comment
Share on other sites

For a start

 

define('HTTP_COOKIE_DOMAIN', '');

 

Shouldn't be empty, and as Mibble suggested you should get the true paths from your provider.

 

Do you have force cookie use set to true because that wont work with shared SSL.

Link to comment
Share on other sites

For a start

 

define('HTTP_COOKIE_DOMAIN', '');

 

Shouldn't be empty, and as Mibble suggested you should get the true paths from your provider.

 

Do you have force cookie use set to true because that wont work with shared SSL.

 

No forced cookie is set to false.

 

define('HTTP_COOKIE_DOMAIN', ''); is empty on all my other sites and I have tried entering the domain here but doesn't make a difference.

 

Site is a complete copy of another site. Only difference is my host has placed restrictions on new servers as they have turned register_globals to off. I had to apply a contribution for register globals, but as it works okay without SSL I doubt this is the problem. Also other people using the same contribution would have come across the same issue.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...