View Full Version : Too much https: ??

12-11-2002, 11:31 AM
Well, after months of beating my head against the wall trying to get the cart to stay in https: mode after i login.... I've finally GOT IT!!! I'm finally able to go from login.php to checkout_payment and stay in https. Now, i did the fixes so that the padlock shows up at every step of the way in both IE and Netscape. Everything works fine until......

I process my order and get to checkout_success.php where i recieve confirmation that my order was processed successfully. I click "Continue" and it takes me back to catalog/default.php but i'm still coming from the htttps server!! What do i need to do to get this to take me to the default page via the http: server? I know i don't want to browse the cart from https: because it's SLOW!

Thanks for any help

12-11-2002, 02:38 PM
Someone at the oscommerce forums recommended changing the following code in checkout_success.php at around line 39. Only problem is: this code doesn't appear anywhere in that file. Does anyone recognize this code.... looks like a redirect back to the catalog/default.php page and it's supposed to call it out via http rather than https. But which file's it in?

tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string, 'SSL'));

And the directions were for me to change the 'SSL' to 'NONSSL'.

Anyone know where this is???

(i'm getting close.... i know it.... i can almost taste victory....)

12-11-2002, 05:40 PM
That code appears in my checkout_success.php at exactly line 39. What is the date on your CVS? Is it really old? Or did you modify checkout_success.php and maybe delete that line? The date on the version I checked is 11-27 2002.

In my copy it is set to 'SSL' by default, and I have had none of the problems that you are having. If your file is missing this code, I would bet that has a lot to do with the problems you are having. I will look into this, as it does interest me as to what the problem is.