Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL for checkout only


david

Recommended Posts

Posted

Hello everyone

 

I am using an older version of 2.2 (pre the new checkout procedure) and would like some advice how one sets up SSL on just the checkout page.

 

eg. when some one clicks on checkout they are taken to https://

 

I have my certificate installed and can enter https:// manually, but like I say, I wanna know what files/links etc? to change to have SSL on just the checkout pages and maybe for the admin too.

 

Thanks

David :?:

Posted

Both your admin and catalog/includes/configure.php

define('HTTP_SERVER', 'http://your domain.com'); // eg, http://localhost - should not be empty for productive servers

 define('HTTPS_SERVER', 'https://your ssl url.com'); // eg, https://localhost - should not be empty for productive servers

 define('ENABLE_SSL', true); // secure webserver for checkout procedure?



HTH

The_Bear

Posted

thx Bear.

 

I actually did those changes to config files already...but i still get taken to http:// and not https:// when click on checkout?

 

any other clues?

 

thx again

david

Posted
thx Bear.

 

I actually did those changes to config files already...but i still get taken to http:// and not https:// when click on checkout?

 

any other clues?

 

thx again

david

 

Does your server require SSL pages to be loaded from a specific directory ?

 

Some servers, such as plesk, by default will have:

httpdocs

AND

httpSdocs

 

On mine though, everything is served from /public_html

 

Check with your hosting provider...they can tell you for sure.

Posted

do you mean only enabling ssl for checkout only and not login / my account page? I was wondering the same thing if thats what your asking about. Always seemed like a hassel to have to click through the secure server a few times to navigate the site. I'm sure its possible, I think I've seen a site setup like that.

Posted

Maybe i need to rephrase...

 

1. apart from making the changes to the 2 config file (alreday done) what other files do i need to change/edit?

 

2. and what do i need to do with these files? are they duplicates that need to be placed in specific (ssl) folders?

 

I have done a bunch of searches but no joy. Is there a step by step for ssl anywhere that i have missed.

 

thanks everyone

David

Posted

Hello harald

 

yes i had previously alreday changed to true in both config files.

 

Still i can only get https:// if i add it manually.

 

if i mouse over checkout or click on it - it is still http://

 

:?:

Archived

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

×
×
  • Create New...