Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

security or purchase(probably SSL problem)


Guest

Recommended Posts

Clicking on "add to cart" was leading me to "your cart is empty".

I fix it by changing application_top.php this way:

 

 

// set the type of request (secure or not)

$request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL';

//I add this line:

$request_type = (eregi ($HTTP_HOST, HTTPS_SERVER)) ? 'NONSSL' : 'SSL';

 

Now "add to cart" is OK and I can complete a purchase, but the registration is insecure.

(Before adding the line in application_top.php security was working)

 

What is wrong, this way or the other? How do I fix it to receive security and purchase alltogether?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...