Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

guest as checkout


eelamb

Recommended Posts

Need some help. Active shopping cart on line, if you choose an item, and add it to your cart, then check out while not signed in, you are asked to sign in. Once this is complete, you are taken to another page showing your cart is empty. If you check your cart it shows the item. only way to get where your cart is shown, is to close the browser and come back in. Then when checking out you have two of the same item in the cart.

 

Now on my system (desk top), this does not happen. When checking out, it asks for you to sign in, and once complete you are taken to the check out process, and item is still there.

 

Does anyone know of a solution, or setting I have wrong on the server. Could it be the SSL connection?

Link to comment
Share on other sites

This sort of problem is usually caused by incorrect configuration for cookies.

 

Make sure that HTTPS_COOKIE_DOMAIN is the same domain (no http or slashes) as HTTPS_SERVER. Also, if you are using shared SSL, where the HTTPS_SERVER domain is different from the HTTP_SERVER domain, make sure that you have "Force Cookie Use" set to false in admin under Sessions.

 

You should also set all of the "Check" options under Sessions to false.

Link to comment
Share on other sites

This sort of problem is usually caused by incorrect configuration for cookies.

 

Make sure that HTTPS_COOKIE_DOMAIN is the same domain (no http or slashes) as HTTPS_SERVER.  Also, if you are using shared SSL, where the HTTPS_SERVER domain is different from the HTTP_SERVER domain, make sure that you have "Force Cookie Use" set to false in admin under Sessions.

 

You should also set all of the "Check" options under Sessions to false.

 

Steve, where can I find the HTTPS_COOKIE_DOMAN and HTTPS_SERVER to check the values. I have been looking on my system here and not found them. Have found references to both.

Force cookies is set to false, and all the checks are false too.

 

Thanks

Link to comment
Share on other sites

They're in the includes/configure.php file.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

They're in the includes/configure.php file.

 

Thanks, I was looking in the admin folder. There was no informaiton in the HTTPS_SERVER or HTTPS_COOKIE_DOMAIN. I enter the proper settings and checked it. Now that part is working properly. Again thanks for your help Steve and AlanR

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...