Your cart is empty

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
8 years ago
Hello,

Many customers call when trying to place an order, they get the message " Your cart is empty" even though they added items to the cart...

Log shows :


The level of log entry.Log level:  Warning
The log entry message.Short message:  Your cart is empty
The details for the log entry.Full message:  System.Exception: Your cart is empty at Nop.Web.Controllers.CheckoutController.OpcSaveBilling(FormCollection form)
IP address of the machine that caused the exception.IP address:  70.195.9.55
Name of the customer who caused the exception.Customer:  Guest
Originating page of exception.Page URL:  https://www.larsenlights.com/checkout/opcsavebilling/
The referrer URL.Referrer URL:  /onepagecheckout
Date/Time the log entry was created.Created on:  10/28/2015 9:54:55 PM

Why is this happening ? I will make the order for them, and have no problem completing the order...

Kenny
8 years ago
larsenlights wrote:
Hello,

Many customers call when trying to place an order, they get the message " Your cart is empty" even though they added items to the cart...

Log shows :


The level of log entry.Log level:  Warning
The log entry message.Short message:  Your cart is empty
The details for the log entry.Full message:  System.Exception: Your cart is empty at Nop.Web.Controllers.CheckoutController.OpcSaveBilling(FormCollection form)
IP address of the machine that caused the exception.IP address:  70.195.9.55
Name of the customer who caused the exception.Customer:  Guest
Originating page of exception.Page URL:  https://www.larsenlights.com/checkout/opcsavebilling/
The referrer URL.Referrer URL:  /onepagecheckout
Date/Time the log entry was created.Created on:  10/28/2015 9:54:55 PM

Why is this happening ? I will make the order for them, and have no problem completing the order...

Kenny



Hi,

You can consider the following possible problems:

- Check if you have any problems with the SSL certificate or redirects - this may cause some customers to enter the site via HTTP, but when they go to the checkout it will be opened in HTTPS.

- Check if your scheduled task for deleting guest customer is not set to too frequent interval.

- Your customers might have disabled their cookies from the browser settings.

- Session settings in the web.config file

- A quick search in Google showed many possible causes of this problem.


I hope this helped !
8 years ago
do you have multiple store ??

if so may be because of multiple store as cart will be different per store.

Also one other case is if customer is using redirection payment provider then it placing the order first and clear the cart and redirect it to third party payment gateway for payment processing.

so when you back from that page sometimes if order payment failed it gives cart is empty message
5 years ago
We have the same issues randomly as below:

Log level
Warning
Short message
Your cart is empty
Full message
System.Exception: Your cart is empty at Nop.Web.Controllers.CheckoutController.OpcSaveBilling(FormCollection form) in E:\NopCommerce\Justyling\Justyling\Presentation\Nop.Web\Controllers\CheckoutController.cs:line 1462
IP address
217.136.220.169
Page URL
https://www.justyling.com/checkout/opcsavebilling/
Referrer URL
/onepagecheckout
Created on
8/21/2018 8:56:34 AM

Does anyone have a solution for such issue? Customer will just place the order and then will have no way to make payment when this happens in our case.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.