e_gregious Posted March 12, 2004 Share Posted March 12, 2004 Can anyone help me. I have set up and OsCommerce shop using a shared SSL directory. Works fine for updating user accounts. Shopping seems to go OK, since as soon as I press "Checkout", it obediently switches to SSL mode with the nice little lock at the browser bottom etc. Problem is, once the payment has been made (credit card - no payment gateway), it goes back to the index page but remains in SSL mode. No major drama, but it should drop back to non-SSL. I have copied almost everything over to the SSL site (including images) so it doesn't look daggy in SSL mode. Does anyone know how to switch the mode back to non-SSL once payment is complete? I've tried looking through all the .php files I can, but it seems to be hidden deeply behind all the function calls which have their own intricate contexts. I've also tried to modify the configure.php files, using different settings on the SSL and non-SSL sites, but I can't find any combination to fool it. I think it probably needs some function call inserted in just the right place in checkout-payment.php or checkout-success.php. Would appreciate any relevant input. (Also prepared to tolerate non-relevant input, since I'm only new here.) Thanks Greg Link to comment Share on other sites More sharing options...
Guest Posted March 12, 2004 Share Posted March 12, 2004 It should stay in SSL after you click the continue button on checkout_success.php and are re-directed to the index page to prevent people from getting a security warning message right after checking out. Most people, after they have finished shopping will exit the site after completing checkout and going back to the main page so would never notice. Once you are re-directed back to index.php still in secure mode click on one of the categories, etc. and then it should take you out of SSL. If for some reason you enjoy freaking out your customers after they enter in CC info you can change the re-direct in checkout_success.php from SLL to NONSSL and let them get the warning and call or e-mail you about it. :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.