How to enable SSL on OsCommerce or Zencart

This article will explain how to set up your OsCommerce shopping cart with either a shared or a dedicated SSL certificate. Please note that the same settings (minus the COOKIE_DOMAIN options) are applied to Zencart.

========== Dedicated SSL Setup ==========

Dedicated SSL certificates must be purchased from a SSL provider. Then install SSL on your host. Refer the article How to install SSL certificate on arvixe.
In order to configure osCommerce to work with SSL you should open the file public_html/catalog/includes/configure.php (absolute to the location of your shopping cart) and modify the HTTPS_SERVER, HTTPS_COOKIE_DOMAIN, and ENABLE_SSL fields with your account information.
define('HTTP_SERVER', 'http://yourdomain.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://yourdomain.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'yourdomain.com');
define('HTTPS_COOKIE_DOMAIN', 'yourdomain.com');

========== Shared SSL Setup ==========

Shared  SSL certificates are set up the same as the Dedicated, only you use your machine name rather than the domain name. Contact your hosting to get the shared SSL url. For eg. you will get something like the following:

https://secureXX.yourhosting.com/~username

Modify the configure.php as follows:

define('HTTP_SERVER', 'http://yourdomain.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://secureXX.yourhosting.com/~username'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'yourdomain.com');
define('HTTPS_COOKIE_DOMAIN', 'secureXX.yourhosting.com/~username');

Click Here to Visit Arvixe Website


Read: How to configure WordPress for SSL certificate

Bugless Beast v0.8 Released


v.8 is amazing, as usual. If you want a ROM that works, is smooth and looks nice this is the one. Alot of other Devs put out update after update to fix problems. Pete puts out update and update to add features…..big difference.
Read more