• Resolved pattyok

    (@pattyok)


    We are having an issue with this site where intermittently orders
    are getting generated multiple times. Sometimes Square is declining the charge as
    it detects that it is a duplicate, but other times it goes through. One order was
    for zero dollars and that one was processed exactly one minute after the previous
    one suggesting some kind of race condition with a scheduled action?

    • This topic was modified 1 month, 3 weeks ago by pattyok.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter pattyok

    (@pattyok)

    I ran some logs on the woocommerce_checkout_order_created hook and I saw four orders get created from one order. They are all coming from the same ip address, different session, but same cart. One was exactly one minute form the first one, then fifteen minutes later and then 13 minutes after that?

    [CHECKOUT DEBUG] Order #141505 created | Session: t_a147c6963fe9bce0c51931c8aebeb6 | Cart Hash: a7eb26e30344d497a3cfaee23a6c726b | Time: 2026-04-13 14:36:25 | IP: xx.xx.xx.xx

    [CHECKOUT DEBUG] Order #141496 created | Session: t_a147c6963fe9bce0c51931c8aebeb6 | Cart Hash: a7eb26e30344d497a3cfaee23a6c726b | Time: 2026-04-13 14:35:25 | IP: xx.xx.xx.xx

    [CHECKOUT DEBUG] Order #141523 created | Session: t_a147c6963fe9bce0c51931c8aebeb6 | Cart Hash: a7eb26e30344d497a3cfaee23a6c726b | Time: 2026-04-13 14:50:29 | IP: xx.xx.xx.xx

    [CHECKOUT DEBUG] Order #141534 created | Session: t_e60039b30df0ad08ab36d4c3747933 | Cart Hash: a7eb26e30344d497a3cfaee23a6c726b | Time: 2026-04-13 15:03:48 | IIP: xx.xx.xx.xx

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there,

    Thank you for the detailed information and for sharing those logs — that’s really helpful.

    From what you’ve described, it does look like multiple orders are being created from the same cart/session over time, which isn’t expected behavior. The timestamps (1 minute, then 15 minutes, then 13 minutes later) and the same cart hash suggest that something is re-triggering the checkout process rather than a single user action.

    To assist you further, could you please confirm whether the issue disappears when you disable the WooCommerce Square plugin?

    If you haven’t tried this yet, could you please temporarily deactivate the plugin and place a test order to see if the issue occurs again?

    In the meantime, I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:

    • System Status Report which you can find via WooCommerce > Status
    • Fatal error logs (if any) under WooCommerce > Status > Logs.

    Please use https://pastebin.com/ or https://gist.github.com/ and share a link to that paste in reply here. Once we have more information, we’ll be able to assist you further

    Plugin Support Ejay F – a11n

    (@ejayfernandes)

    Since there’s been no recent activity on this thread, I’m marking it as resolved. Don’t hesitate to start a new thread if you need help in the future.

    Your feedback helps others – please consider leaving a review: https://ww.wp.xz.cn/support/plugin/woocommerce-square/reviews/#new-post

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

You must be logged in to reply to this topic.