Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

"Shopping Cart is Empty" on Checkout


KevinAce

Recommended Posts

Hey,

 

I've installed quite a few customizations. As of late, when the user completes the checkout, they're charged fine via authorize.net. Instead of being passed to checkout_success.php with a "Thanks for your order!" page, they are taken to shopping_cart.php with a "Your shopping cart is empty!" message. Of course, many of them click back which creates a second charge for them.

 

I don't believe I've made any changes recently that would make this happen & I'm not sure how long it's been going on for (only recently did a customer let us know about this). I've tried to logically follow the code & cannot figure out what's doing this. If you have a possible solution, please post it here. If you'd be interested in checking on this on my actual FTP, send me a private message. Please DO NOT post your rates or anything here...only solutions.

 

Thanks,

Kevin

Link to comment
Share on other sites

I found the issue. It was in regards to an include on checkout_success.php (to my own custom tracking code). I believe my session_start(); call at the top of the included file reset the sessions for the user & gave them "Your shopping cart is empty!" instead of the appropriate thank you page with the items they ordered.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...