Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

firefox secure warning on shopping cart


jimmyharwood

Recommended Posts

Posted

Hi, is there a way to secure shopping_cart.php? when a customer is logged on, and then goes to the shoppinb cart, the site falls out of SSL - therefore when they take something out of there cart an error is introduced.

 

This message

 

 

Although this page is encrypted, the information you have entered is to be sent over an unencrypted connection and could easily be read by a third party.

 

Are you sure you want to continue sending this information?

 

Only happens on Firefox - not on IE or chrome.

 

I believe it is because information that has been secured on checkout pages has moved back into an unsecure location hence the warning. My thoughts are that if I can make the shopping cart page open in HTTPs secure page the problem will be solved.

 

Cheers

 

Jimmy

Posted

The only pages that should be SSL are the ones where sensitive information is exchanged between the client and the server.

 

The shopping cart doesn't fall into that category.

 

Try this for a band-aid (without your URL that's all I can offer).

 

In /catalog/shopping_cart.php change this code:

 

<?php echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_SHOPPING_CART, 'action=update_product')); ?>

 

To this:

 

<?php echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_SHOPPING_CART, 'action=update_product',$request_type)); ?>

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

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

×
×
  • Create New...