Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shopping Cart Problem


XxWickedxX

Recommended Posts

I was doing a test in going though paypal sandbox for my new site and did not complete the transaction. I removed all items from my cart but no matter what it says their is 1 item in my cart. Since the sale was not completed it went to pending instead of delivered (not sure if that matters).

Link to comment
Share on other sites

check the cookies settings

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

Thanks sjc but still no luck. I tried cookie domains the same and also leaving https blank. As well I do not use HTTPS on my site. Here is what I have right now.

 

  define('HTTP_SERVER', 'http://www.mysite.com');
 define('HTTPS_SERVER', 'https://www.mysite.com');
 define('ENABLE_SSL', false);
 define('HTTP_COOKIE_DOMAIN', 'mysite.com');
 define('HTTPS_COOKIE_DOMAIN', 'mysite.com');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');
 define('DIR_WS_HTTP_CATALOG', '/');
 define('DIR_WS_HTTPS_CATALOG', '/');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', '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/');

 

In the admin panel I have this. I had Force Cookie use "off" prior to it being enabled now.

 

Session Directory			  /tmp	   
Force Cookie Use 			True 	
Check SSL Session ID 	False 	
Check User Agent 			False 	 
Check IP Address 			False 	
Prevent Spider Sessions 	True 	
Recreate Session 			False

Link to comment
Share on other sites

It looks like I might have custom created this problem. See my site is new and not open yet. I created a test user account that I do all my testing with of course. When I noticed the problem I was using that account to run by different scenarios a customer might do while in the checkout process. After entering paypal sandbox I would press the back button. On the confirmation page the the checkout I would hardline to checkout_success.php in the browser to see if it would give me the product download or what status it offered. I would go 3/4 the way thought the checkout an then click back to the home page and etc. Somewhere in that testing it somehow happened. I think my odd testing behavior brought it on.

 

Now for the good news. I created another test account with force cookies on and tried to replicate the problem and could not. I did all those test under another account and everything worked fine. This tells me new customers should not experience this unless they act erratically in nature on the site. I am happy with that. Only real deal I guess is that my first test account is stuck with a value of one in the shopping cart which allows you to check out with $0 dollars and no items listed for purchase. It halts the process at paypal needing a value higher than 0.

Link to comment
Share on other sites

If you _really_ want to clear that item out of the cart, find the customers_id for that user, find their shopping cart in the customers_basket table, and delete it from there.

 

-jared

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...