Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Basket Empty when Checking Out


quomo

Recommended Posts

Posted

Hi Guys

I sometimes get customers letting me know they were trying to purchase and the order dissapeared, as they went to the checkout."I was trying to put an order on line. I registered as a new customer and picked 4 items. When I went to checkout, it kept referring me back to the login page ie. login in as a guest or a customer and kept emptying my basket"

 

I know this could be related to the cookies usage, and Im aware that it could be also an issue with certain browsers, but how can I make sure this wont happen again?

 

For your info, settings in my admin:

 

Use Search-Engine Safe URLs (still in development): false

----------

Use Cache: true

Cache Directory: /tmp/

--------------

Session Directory: /tmp

Force Cookie Use: False

Check SSL Session ID: True

Check User Agent: True

Check IP Address: True

Prevent Spider Sessions: True

Recreate Session: True

 

I will keep searching in the forum to find answers

 

Thanks

Posted

You may have some error in your configure.php file or you may have hard-coded interan links to your site.

 

As of the settings you posted maybe it would be better to set:

Check SSL Session ID: False

Check User Agent: False

Check IP Address: False

Posted

Cool, I will check this and see whats happening.

Thanks a lot.

If anyone knows any other ways to avoid this type of issues, please post them here.

Posted

By the way, I've been tryin to get some nice urls instead of those horrible ?osCsid=9464ad00ad68012f452e69697c0279a6

 

I remember I install some friendly URL contribution, but, and since I moved the whole site to a new server and upgraded, the whole thing has dissapeared.

 

So, same again, I wonder if there is a quick fix for this issue.

Otherwise I will have a thorough look into it.

Posted

the sessions should disappear after a click or so. If they persist, check your catalog\includes\configure.php file the cookie path, cookie domain settings

Posted
the sessions should disappear after a click or so. If they persist, check your catalog\includes\configure.php file the cookie path, cookie domain settings

 

Not sure quite what do you mean. This is what I have in my config (catalog/includes/configure.php)

 

define('HTTP_COOKIE_DOMAIN', '/home/www/xxx.com/catalog/');

define('HTTPS_COOKIE_DOMAIN', '/home/www/xxx.com/catalog/');

define('HTTP_COOKIE_PATH', '/home/www/xxx.com/catalog/');

define('HTTPS_COOKIE_PATH', '');

 

Aint that right?

Posted

no, I would expect:

 

define('HTTP_COOKIE_DOMAIN', 'mysite.com');
define('HTTPS_COOKIE_DOMAIN', 'mysecuresite.com');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/catalog/');

the cookie paths should be relative to the root of the domain.

Posted
no, I would expect:

 

define('HTTP_COOKIE_DOMAIN', 'mysite.com');
define('HTTPS_COOKIE_DOMAIN', 'mysecuresite.com');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/catalog/');

the cookie paths should be relative to the root of the domain.

 

 

Hi, I did exactly but the problem is still there. Any ideas where I should look to solve this prob? thks.

Archived

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

×
×
  • Create New...