Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Which pages to SSL??


gellnsh

Recommended Posts

Posted

Hello all,

 

I've just integrated credit card into my cart and I'd like the checkout pages to go to my ssl section. Does anyone know which pages need to be moved to this location and how to configure the files to do this. Is there a topic on this proceedure. My search doesn't seem to come up with anything relative???

 

Any help would be appreciated.

 

thanks

Shell

Posted

In your includes/configure.php file you enter your ssl site details, set enable_ssl to true and osCommerce does the rest. Make sure that your https_cookie_domain setting matches how the SSL cert was issued. Full certs are either issued to www.yourdomain.com or just yourdomain.com (and that's what you need to enter the https_cookie_domain - no https:// in front of it).

 

Vger

Posted

osC handels the ssl by a aparametr in the link, it s either 'SSL' or 'NONSSL' or nothing equal to 'NONSSL' the set of what is needed to ssl and what not is ready by default osc, anything added you want to move to ssl ad the parameter to the link

 

btw I think there is plenty of information in baord to ssl, maybe thats the reason for poor response ;)

 

so look at the files in catalog and crwal the for NONSSL and SSL sure you will unerstand immediately

 

dahui

Posted
In your includes/configure.php file you enter your ssl site details, set enable_ssl to true and osCommerce does the rest.  Make sure that your https_cookie_domain setting matches how the SSL cert was issued.  Full certs are either issued to www.yourdomain.com or just yourdomain.com (and that's what you need to enter the https_cookie_domain - no https:// in front of it).

 

Vger

 

 

Thanks Vger,

 

All went well with the changes you suggested except when I get to 'Confirm Order' I get a bunch of errors like this:

 

Warning: session_start(): The session id contains invalid characters, valid characters are only a-z, A-Z and 0-9 in /usr/wwws/users/axe/catalog/includes/functions/sessions.php on line 67

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /usr/wwws/users/axe/catalog/includes/functions/sessions.php:67) in /usr/wwws/users/axe/catalog/includes/functions/sessions.php on line 67

 

Warning: Cannot modify header information - headers already sent by (output started at /usr/wwws/users/axe/catalog/includes/functions/sessions.php:67) in /usr/wwws/users/axe/catalog/includes/functions/general.php on line 29

 

Warning: session_write_close(): The session id contains invalid characters, valid characters are only a-z, A-Z and 0-9 in /usr/wwws/users/axe/catalog/includes/functions/sessions.php on line 106

 

Warning: session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in /usr/wwws/users/axe/catalog/includes/functions/sessions.php on line 106

 

 

I've eliminated all of the white space as suggested in the knowledge base but am still getting these errors. I'm not sure how to approach the 'invalid characters' issue as I'm not sure where they come from?? Any suggestions??

 

thanks

Shell

Posted

in your configure.php file, set store_sessions to mysql

Posted
in your configure.php file, set store_sessions to mysql

 

 

Thanks, that seemed to do the trick but for some reason I'm getting a 'Decline' error when I shouldn't be. I've changed to live mode and still the same result. Do you have an answer for this??

 

thanks

Archived

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

×
×
  • Create New...