• RebeccaBlackman

    (@rebeccablackman)


    Hi,

    This afternoon I have sold 14 of the same product and have noticed that at least 3 of the purchases did not reduce the stock level. I have not experienced this problem before updating to 2.4.10 from 2.4.8 earlier today and am wondering if there might be a bug?

    This is an example of the order notes on the affected orders:

    IPN payment completed
    added on 12th November 2015 at 6:39 pm Delete note
    Order status changed from Pending Payment to Processing.
    added on 12th November 2015 at 6:39 pm Delete note
    IPN payment completed
    added on 12th November 2015 at 6:39 pm Delete note

    And this is an example of the order notes on an order that reduced stock correctly:

    Item #6203 stock reduced from 7 to 6.
    added on 12th November 2015 at 9:48 pm Delete note
    Order status changed from Pending Payment to Processing.
    added on 12th November 2015 at 9:48 pm Delete note
    IPN payment completed
    added on 12th November 2015 at 9:48 pm Delete note

    The product in question is a simple product and I have stock management enabled. I did have the option to only allow the product to be sold individually enabled, but have disabled it in case it is causing the problem. I have had 2 sales since then which have reduced the stock as expected.

    I am using the built-in Paypal method. I have quite a few plugins installed, but have added nothing new for some time.

    Kind regards,

    Rebecca

    https://www.ads-software.com/plugins/woocommerce/

Viewing 4 replies - 16 through 19 (of 19 total)
  • Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    And there is nothing in the logs around 1:16?

    It looks like (and this is a guess without logs),

    1. IPN payment completed
    2. Order status changed
    3. There was an error before or during stock reduction. Error made PayPal think IPN failed.
    4. IPN came in again, this time got the correct response. But since the order was updated already, no stock was reduced,

    Thread Starter RebeccaBlackman

    (@rebeccablackman)

    Hi Mike,

    No, there’s nothing in the logs anywhere near that time.

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    I guess you should try to replicate with that specific variation then, and confirm that order has _order_stock_reduced meta data set in the post_meta table.

    Thread Starter RebeccaBlackman

    (@rebeccablackman)

    Hi Mike,

    Righto, I will give it a try and let you know what happens.

    Many thanks for your help. ??

    Rebecca

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Stock intermittently not being reduced’ is closed to new replies.