Support » Plugin: WooCommerce Cart Stock Reducer » cart expiring: ignore order status setting not working

  • nettiwelho

    (@nettiwelho)


    Hello!

    I am working on a clients website and I am having problems with this plugin:

    WordPress, woocommerce and stock reducer plugins have been updated to latest versions; item expire is on and under ignore order status “pending payment” is selected, however, the items in those orders are expired anyway when timer runs out and thus someone else can purchase them leading into issue of multiple people being able to purchase the same item when stock is very limited

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author James Golovich

    (@jamesgol)

    WooCommerce is a moving target and they might have changed some things that affect the way the expiration works (or doesn’t).

    Was this working before on an older WooCommerce version and when upgrading it stopped working properly or are you just starting to use this?

    nettiwelho

    (@nettiwelho)

    fresh plugin installation, was not previously on the site in question

    • This reply was modified 5 months ago by  nettiwelho.
    Plugin Author James Golovich

    (@jamesgol)

    Are you certain of the status that the order is in? Some payment gateways work slightly different.

    nettiwelho

    (@nettiwelho)

    The payments are going through paytrail ( https://www.paytrail.com/en ).

    Around 2-4% of the time the orders remain in pending mode in woocommerce instead of automatically being completed after customer has gone through checkout and paying.

    I have repeatedly tested that the ‘ignore order status’ option under cart expiry does not work with following method;

    1. Set stock for product X to 1 (backorders disabled), set cart expiration timer to 2 minutes and set ignore status to payment pending.

    2. Add product to cart, go to checkout, submit order (do not complete payment), refresh stock page to see the current stock is at 0 as expected, refresh orders page to see the order is currently in payment pending as expected.

    3. Wait for timer to run out and after that stock has been increased back to 1, allowing someone else to do purchase of the same item despite of ignore order status setting.

    This also means the cart can expire while the customer is going thought the payment process.

    • This reply was modified 5 months ago by  nettiwelho.
    • This reply was modified 5 months ago by  nettiwelho.
    • This reply was modified 5 months ago by  nettiwelho.
    Plugin Author James Golovich

    (@jamesgol)

    Can you send me <james@gnuinter.net> a copy of your payment gateway plugin so I can do some testing?

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.