Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Items in shopping cart disappear during checkout


ksaun

Recommended Posts

Posted

I have an issue with the shopping cart in OSC, I can select items in the store, and add then to my cart, where they show up correctly. But when I select the Checkout Button I get the sign on / sign up page which again I know is normal, except the items I had in my cart are gone.

 

Now I know what your thinking, signup or sign on and see if the contents come back, they don't it just tells me my cart is empty.

 

This is a new install, which I did, because the old version was having the same problem.

 

Everything is default in the store right now with the exception of the contribution to change the british flag to USA flag.

 

I really want to get going on the site but, I don't want to start like I did last time and loose all my work because I need to reinstall again.

 

Any help would be greatly, appreciated.

 

Thanks,

 

Keith

My Favorite Quote from a movie.

 

Question: How do you know women sooo well?

 

Answer: I think of a man, then take away reason and accountability.

Posted

your http-https cookie path is prolly wrong.Go to index.php>set https: cookie_ domain to"your domain.your webhost.com set http: cookie_ domain"your.com" set https: cookie_path "catalog/" set http cookie_path "catalog/" also check local directory and set SSL=1.

Posted

Hmmm... I have the same problem. But I can't find the string in my index.php - set https: cookie_ domain to"your domain.your webhost.com set http: cookie_ domain"your.com" set https: cookie_path "catalog/" set http cookie_path "catalog/" also check local directory and set SSL=1.

 

Can someone give me teh exact path? I've check all the index.php files I could find.

 

Also, how will I set SSL=1, in the admin page? or in a string in a php file.

 

Anyhelp will be greatly appreciated. Thanks

  • 4 weeks later...
Posted

I had the same problem, solved after doing following:

 

http://www.oscommerce.com/forums/index.php?sho...10entry363363

I've been struggling with this problem also:

 

Log in--click to buy some things--try to checkout--kicked back to login again--kicked to top page (occasionally I could check me out, but usually after creating a new account); this Log in--Try to Checkout--Log in again--Top Page endless loop was really frustrating the HECK out of me.

 

I use a shared SSL server and clicked to enable SSL while installing osCommerce. I used the correct address when asked for the SSL (https) server.

I noticed in the catalog/includes/configure.php file that it did not add the SSL server address to the define HTTPS COOKIE DOMAIN command line. It read:

define('HTTPS_COOKIE_DOMAIN', 'mysite.com');

 

After I changed it to:

define('HTTPS_COOKIE_DOMAIN', 'mysslserveraddress.com'); everything seemed to work perfectly.

Now, when I login at the Top (or Home) page, I can purchase items and go directly to checkout without having to log myself back in. Also, when I log off, it completely logs me off without leaving items in the cart like it would before.

So what happened is that when osCommerce installed, it asked for the secure server address for my shopping cart, but didn't copy the same address for my cookies.......it used the unsecure address instead of the secure one. I guess that caused the lock to appear when using the shopping cart, but the cookies not to function properly when purchasing and logging on or off.

Archived

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

×
×
  • Create New...