cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.4.7 p3 Checkout Errors

Magento 2.4.7 p3 Checkout Errors

Upon navigating to the checkout page, certain customers receive error messages "The customer does not have an active cart" and "The order has already been placed and paid." What could be the cause of the issue? Only certain customers face these error messages at checkout, so could it be a user cache issue? If so, how do we resolve it?

2 REPLIES 2

Re: Magento 2.4.7 p3 Checkout Errors

This is a blocker task.

 

We would need to investigate, email me and I can provide assistance to you.

Re: Magento 2.4.7 p3 Checkout Errors

Hello @hellotogog8c37,

 

If certain customers are experiencing checkout issues in Magento 2.4.7-p3, the first step is to check for JavaScript console errors and network errors. Here’s how you can do that:

 

  •   Open Google Chrome, Firefox, or Edge.
  •   Navigate to the checkout page.
  •   Press F12 or Ctrl + Shift + I to open Developer Tools.
  •   Click on the Console tab to check for JavaScript errors.
  •   Click on the Network tab and reload the page (Ctrl + R or Cmd + R on Mac) to look for failed AJAX requests.

Sometimes This error occurs when Magento cannot find a valid cart for the customer.

 

  1. Cart Session Expired: Customer's session expired but the cart is still linked.
  2. Cart Data Corruption: The quote table may have missing or orphaned records.
  3. Incorrect Customer Group Assignment: The user’s group does not have checkout access.

Run the following commands:

php bin/magento cache:flush

php bin/magento cache:clean

php bin/magento indexer:reindex

php bin/magento cache:flush

rm -rf var/session/*

 

This clears user sessions, forcing them to refresh their carts.

 

If an inactive quote still exists, delete it:

DELETE FROM quote WHERE customer_id IN (SELECT entity_id FROM customer_entity WHERE email = 'customer@example.com');

Replace customer@example.com with the affected user's email.

 

This will force Magento to create a new cart.

Go to Stores > Configuration > Customer Configuration > Customer Group.

 

Ensure the affected user is assigned to a group that allows checkout.

 

If the issue will be resolved, Click Kudos & Accept as a Solution.