Woocommerce orders

I have this problem in my Woocommerce store:

When new Woocommerce order comes in, it reduces the stock twice.

So if customer orders one product, woocommerce reduces two products from the store.

Have you heard about this problem before and do you know how I could solve it?

It was suggested to me that this could happen if the "thank_you" hook gets loaded twice. How can I find out if this happens?

Thanks in advance!

  • Adam Czajczyk
    • Support Gorilla

    Hello Miikka,

    I hope you're well today and thank you for your question!

    It seems that might also be related to payment gateway. Are you using PayPal for payments?

    If yes, get to your PayPal dashboard and check, please, if both IPN and PDT (Payment Data Transfer) options are enabled. If so, try disabling one:


    This is suggested in this ticket:


    and some follow up messages confirm that it might help.

    If it's not a case or it doesn't work, the hook that you mentioned might also be a reason, as well as some additional plugin involved or even some specific settings. In such case, I would like to take a closer look at your setup. I'll be able to do it if you enable support access to the site for me. To do this, please go to the "WPMU DEV -> Support" page in your site's back-end, click on "Grant support access" button there.

    Please do it if the "payment gateway solution" doesn't help and let me know here.

    Best regards,

  • Adam Czajczyk
    • Support Gorilla

    Hi Miikka

    Thanks for response and for enabling support access. As of now, I checked the site but didn't found any setting in the theme or your Checkout plugin that could be relevant. But I think that plugin developer might be right and I will need to investigate that further.

    FTP details could be helpful here, indeed, as this way I could safely examine theme files and check plugins as well. It would be great if you could provide them.

    Don't leave your login details in this ticket.

    Instead, you can send us your details using our contact form at
    and the template below:

    Subject: "Attn: Adam Czajczyk"

    - Site login URL
    - WordPress admin username
    - WordPress admin password
    - FTP credentials (host/username/password)
    - cPanel credentials (host/username/password)
    - Folder path to site in question
    - Link back to this thread for reference
    - Any other relevant urls/info

    Let me also know, please, if I can temporarily (while I'll be working on this) change back-end language to English; of course I'll remember to set it back as it was before leaving the site.

    Best regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.