Support » Plugin: WooCommerce » Customer paying for ‘Cancelled’ order leading to negative stock

  • kraftpixel

    (@kraftpixel)


    We had a huge sale on one of our client’s websites yesterday.

    Two hours after the sale was complete, we received 2 more order notifications. A customer had paid for an order that he had attempted but was in ‘Cancelled’ status. They have limited quantity so this resulted in a negative stock for the variation that this customer had ordered. He paid for two ‘Cancelled’ orders.

    – Is there a way to disallow customers from paying for ‘Cancelled’ orders?
    – Is there a way that WooCommerce should check at that instance if stock is available and only then change the status of the order from ‘Cancelled’ to ‘Processing’?

    If it helps, these are the notes from one of such orders ordered from oldest to newest:
    Unpaid order cancelled – time limit reached. Order status changed from Pending payment to Cancelled. – June 14, 2020 at 8:40 pm
    >>
    Stock levels reduced: XX-PRODUCTNAMEHIDDEN-XXXX – 3 (CONF-XX-XXXXXX) -1→-1 – June 14, 2020 at 10:50 pm
    >>Order status changed from Cancelled to Processing – June 14, 2020 at 10:50 pm

    June 14, 2020 at 10:50 pm Delete note

    ——

    TL;DR – Customers paying for ‘Cancelled’ orders two hours later is leading to negative stock in a limited stock sale. How do we avoid it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    Just to make sure: The product that was paid for in the cancelled order, is it configured to allow back-ordering?

    Thread Starter kraftpixel

    (@kraftpixel)

    The backordering was and is disabled for the product.

    I’m curious to know:
    – When are the stock quantities checked exactly?
    – (Hopefully) Does the stock get checked when the payment is made before the order is marked as Processing and then the Thank You page is shown?

    • This reply was modified 12 months ago by kraftpixel.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Customer paying for ‘Cancelled’ order leading to negative stock’ is closed to new replies.