• Resolved 00dale

    (@00dale)


    We launched a site recently shortly before a ticket sale. Some users reported having items in their cart change when the went to checkout and also had other user’s address pre-filled in the address fields. They also reported that they would get a random users details when trying again.

    It sounds like a similar issue to this one:

    https://wordpress.org/support/topic/major-issue-orders-are-incorrect/#post-9919225

    which is apparently normally due to either caching or a corrupted database. I don’t think its a caching issue as I use nginx caching and don’t cache the checkout or cart, and also it was seemingly random users details that were being auto filled, making me think the issue was sessions being mixed between users caused by something else.

    I’m not sure the issue is still happening, and I couldn’t replicate it at the time, as it wasn’t happening to me (could be caused by high traffic). Is there any thing to look out for to see if my database is corrupted in some way?

    This is a serious privacy issue that we cannot afford to happen again.

    Its also worth noting that the site is on a multisite network, and I (stupidly) added woocommerce 3.5.4 as a plugin (named woocommerce3) alongside woocommerce 2.6.14 which was being used on a different site on the network. This resulted in some plugins failing to activate on the other site, but I’m not sure thats what caused the issue above.

    The server is a single server setup so it won’t be a load-balancing issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I don’t think its a caching issue as I use nginx caching and don’t cache the checkout or cart, and also it was seemingly random users details that were being auto filled

    Nginx cache is a generic term. Are you using Nginx fastcgi cache or Nginx proxy cache or something else?

    Have you gone through the cached content to see if there are any user details in them?

    Thread Starter 00dale

    (@00dale)

    Sorry, fastcgi cache. But I don’t think its related as it wasn’t effecting all users, and when an affected user clicked around they got different things in their basket (seemingly at “random”). I don’t know if the issue is still occurring as I cleared the transients, and there isn’t as much traffic now.

    But really want to know if it could be caused by a plugin or corrupt database.

    I’m thinking of deleting the database tables and reinstalling and importing the products and orders. But would like to know what the root cause is so that it doesn’t happen again.

    Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    Hi @00dale

    Have you tried switching back to a default theme like Twenty Nineteen and disabling all plugins except for WooCommerce to see if this resolves the issue?

    If that helps, then re-enable each one at a time until you find the one that’s causing the conflict.

    Thread Starter 00dale

    (@00dale)

    I could never replicate the issue myself. May have been caused by an old plugin or some sort of caching inside wordpress. I’ve updated all the plugins. hopefully it doesn’t happen again.

    Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    Hi @00dale

    Right on. I’ll mark this thread as resolved.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Serious Issue, Cart and Checkout sessions getting mixed up between users’ is closed to new replies.