Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Corrupted shopping cart information


rudolfl

Recommended Posts

Posted

Hi, all

 

osCommerce 2.3.3

 

I am trying to fix an eWay payment module and hit an intereting fault. It happens after checkout_processing fails.

 

Shopping cart is corrupted. Add an item to shopping cart and it is there. Click on checkout and shopping cart is suddenly empty. Go on shopping cart pae and all items are there.

I looked at $cart variable and I can see it is changing dependng on what page I am on.

 

OK:

cleared browser cache

Removed all session info from DB

 

Still same.

Put some debug info in.

It appears that HTTP and HTTPS sessions have different session IDs! Shopping cart page is HTTP, checkout page is HTTPS. Different sessions, so different shopping carts.

 

Any ideas what is going on?

I just checked in DB -- "Recreate Session" is set to FALSE, so I should not have different IDs, right?

 

Thanks,

Rudolf

Posted

OK, solved.

www.DOMAIN.xom and DOMAIN.com are NOT same thing. Simple error in configure.php -- mixing www and non-www names caused this weird problem.

 

Rudolf

Archived

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

×
×
  • Create New...