Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Switching from https to http


A Shah

Recommended Posts

I've just managed to get my site to process an order in https at the checkout stage by using a shared SSL.

 

However when I get to the final page - checkout_success.php, and I continue, the Index.php page is loaded in https. At this stage, I would like this page (index.php) to be redirected back to http.

 

Please could you tell me how this can be done ?? Do I need to make a change on the checkout_success.php file ?

 

Thanks in advance...........

Link to comment
Share on other sites

Should be ok. If you mouseover the links to your products/categories, aren't they http:// (not https://) at this point?

 

If you redirect from a HTTPS URL to a HTTP URL, most browsers will complain that you're being redirected to an insecure page. If you let the page be HTTPS, though, but just have all the links be http (which is what should be happening), the user gets no warning message, no confusion, and all is well.

 

-jared

Link to comment
Share on other sites

I've just managed to get my site to process an order in https at the checkout stage by using a shared SSL.

 

However when I get to the final page - checkout_success.php, and I continue, the Index.php page is loaded in https. At this stage, I would like this page (index.php) to be redirected back to http.

 

Please could you tell me how this can be done ?? Do I need to make a change on the checkout_success.php file ?

 

Thanks in advance...........

 

this is because of the notifications option. That is why the page is redirected back in secure mode via the form. if you were to strip that out then you can make the form non-secure and you will end up on the index in http

Treasurer MFC

Link to comment
Share on other sites

this is because of the notifications option. That is why the page is redirected back in secure mode via the form. if you were to strip that out then you can make the form non-secure and you will end up on the index in http

 

Could you kindly explain what the motifications options is, and how I could strip this out ? Thanks

Link to comment
Share on other sites

Could you kindly explain what the motifications options is, and how I could strip this out ? Thanks

 

normally when you reach checkout success and do not have global notifications set, you get a series of checkboxes for product notifications. Those fields are on a secure form as it is personal information which will be updated. That form is submitted to the same page when you hit continue. Therefore it remains secure.

 

If you do not need/want to show those product notification options, you can change the form to nonssl or get rid of the form altogether and redirect to index.

 

I got rid of it as I cannot see why a customer would want product notifications for a product he just ordered. Delivery status would then be a higher priority.

Treasurer MFC

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...