Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Going Cross-eyed! SSL settings correct, but checkout not secure??


Guest

Recommended Posts

Posted

So the settings are correct in the config I will post them below. But when someone goes from the cart to checkout it does not take them to https. Instead it takes them just to http.

I verified that my ssl was created with the www

You could be on http://www.mechanicalbunny.com/catalog/cart but when you hit checkout it takes you to the next page minus the www

 

Any ideas on this one?

 

define('HTTP_SERVER', 'http://www.mechanicalbunny.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://www.mechanicalbunny.com'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.mechanicalbunny.com');
 define('HTTPS_COOKIE_DOMAIN', 'www.mechanicalbunny.com');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');
 define('DIR_WS_HTTP_CATALOG', '/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/catalog/');
 define('DIR_WS_IMAGES', '/catalog/images/');
 define('DIR_WS_IMAGESBIG', DIR_WS_IMAGES . '/catalog/big/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', '/hsphere/local/home/mechbun/mechanicalbunny.com/catalog/includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', '/hsphere/local/home/mechbun/mechanicalbunny.com/catalog/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

Posted

wow.. so 14 hours of coding straight can sure muddle your brain. In case anyone finds this post here is how I fixed the problem.

 

There is another config file under catalog/includes/local

 

you will find a line that reads:

define('ENABLE_SSL', 0);

 

change the 0 to a 1

If you have a https define make sure it is set correctly too.

=)

  • 1 year later...
Posted
wow.. so 14 hours of coding straight can sure muddle your brain. In case anyone finds this post here is how I fixed the problem.

 

There is another config file under catalog/includes/local

 

you will find a line that reads:

define('ENABLE_SSL', 0);

 

change the 0 to a 1

If you have a https define make sure it is set correctly too.

=)

 

Thank you thank you thank you x1,000,000,000. I have searched and searched for this fix. This is the first time that this post has come up when I was searching this support forrum, and again I thank you. I went through code and code. I guess I just skipped over that one. Dont know how I missed it.

 

What I want to know is why was it at 0 anyway.

Posted
its at 0 because not everyone uses SSL bud.

 

Should be if dealing with Secure information. And with a shopping cart you'd think that there may just maybe might be some customer information or something like that. Say credit cards payment info address you might want to secure that huh.

Archived

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

×
×
  • Create New...