If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / What causes items to remain in Shopping Cart AFTER purchase?

What causes items to remain in Shopping Cart AFTER purchase?

Started by jeff_mash on 19 Nov 2026, 5:59 PM · Views: 22

Results 1 to 4 of 4
19 Nov 2026, 5:59 PM
#1
jeff_mash avatar

jeff_mash

Totally Zenned

Join Date:
Aug 2004
Posts:
744
Plugin Contributions:
0

What causes items to remain in Shopping Cart AFTER purchase?

ZenCart 2.2. OPC 2.7.0

Hey team - just trying to troubleshoot a very RARE thing I have with certain customers.

I had a customer place an order (PayPal Restful) and it was received.

Customer then was confused because he said all the items were still in his shopping cart.

(I logged into his account and verified that indeed, they were still in his shopping cart, as if the order never went through.)

My initial thought: could that be caused by a customer with multiple tabs open to the website store?

For example, if he was shopping in one tab but completed his checkout in another? And then went back to the earlier shopping tab to log out, would that then save all the items back into his shopping cart?

If so, is this a Cookie or SESSION configuration that would cause this?

Here is a screenshot of my Configuration > SESSION settings. I would appreciate your feedback on them, and what (if anything) you think I should change from these settings. Could any of these settings be causing the issue of items remaining in the shopping cart if you checkout using a second open tab?

  • Jeff
19 Nov 2026, 6:41 PM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,759
Plugin Contributions:
56

Re: What causes items to remain in Shopping Cart AFTER purchase?

Are there any logs? This issue had similar symptoms but a log was left behind indicating the send of the order confirmation email timed out.

https://github.com/zencart/zencart/pull/7950

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

19 Nov 2026, 7:09 PM
#3
jeff_mash avatar

jeff_mash

Totally Zenned

Join Date:
Aug 2004
Posts:
744
Plugin Contributions:
0

Re: What causes items to remain in Shopping Cart AFTER purchase?

swguy:

Are there any logs? This issue had similar symptoms but a log was left behind indicating the send of the order confirmation email timed out.

https://github.com/zencart/zencart/pull/7950

Good call. Here is a redacted log file from the One Page Checkout process.

NOTE: The order that we received was at 11/18/2026 22:18:33. You can use this as a marker in the attached log file to see what happened before and after.

I am basically trying to reverse-engineer what the customer's actions were. From what I can see, he submitted the initial order (again, received at 22:18:33), but then it looks like he saw the same items in his cart and tried to checkout again.

But the real issue I'm trying to narrow down: what could have possibly happened to still have his items in the shopping cart, despite the order being submitted at 22:18:33.

  • This is NOT widespread. Only this customer reported the issue.

I'm hoping to see if it's because of certain steps he did (like having multiple tabs open to the website), OR if it could be related to his browser, OR if it's related to my Session settings.

One thing to keep in mind: on the first order (which was successfully submitted to us at 22:18:33), the customer was part of a 7.5% automatic discount group pricing and received that discount.

Since that order was successfully received and submitted, he then was bumped up to the 10% tier of the group pricing discount. That would explain why the second checkout process had different prices for basically the same items (explaining the Order Total Mismatch error I find in the log file). But I still cannot determine why the items remained in the shopping cart after the initial order was submitted in the first place.

It's almost as-if a second session was present which held onto the items. So could that happen if a customer has multiple tabs open to the store while shopping? Could it be resolved by tweaking any of my Session settings I posted above?

  • Jeff
19 Nov 2026, 8:36 PM
#4
jeff_mash avatar

jeff_mash

Totally Zenned

Join Date:
Aug 2004
Posts:
744
Plugin Contributions:
0

Re: What causes items to remain in Shopping Cart AFTER purchase?

Ooops, forgot to attach the log in the previous message. Here it is.

  • Jeff