Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL issue after login


jeffy777

Recommended Posts

Hello everyone --

 

I have SSL working great on my cart's checkout except for one small issue. If you aren't logged in and you click to checkout, then you are re-directed to the log in screen, which is secure. But then after you log in a browser message pops up that says "You are about to be redirected to a connection that is not secure....." and then you are redirected to the "Delivery Information" but it's not secure.

 

Can anyone help me to keep the checkout entirely secure, because I don't want people being freaked out by this non-secure message.

 

Thanks!

Link to comment
Share on other sites

Well, I figured out a fix for this and I'll post it here since I saw that atleast one other person had this problem after searching the forum. I now have it so that you are re-directed to your cart contents (SSL) after you log in instead of the non-secure Delivery Info screen, and the whole process remains secure.

 

Here's what I did:

 

Open login.php

 

Find:

 

          tep_redirect($origin_href);
       } else {
         tep_redirect(tep_href_link(FILENAME_DEFAULT));
       }

 

Replace it with this:

 

          tep_redirect(tep_href_link(FILENAME_SHOPPING_CART, '', 'SSL'));
       } else {
         tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'SSL'));
       }

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...