Hi @neoset,
Thank you for contacting us. We hope you are doing well.
The libraries mentioned in the documentation should work as expected.
If you encounter any issues or notice anything not functioning correctly, please let us know, and we’ll assist you.
Thanks & regards,
WP Experts Support Team
Hello License Manager for WooCommerce Support Team,
I’m facing an issue related to license delivery and stock reduction on my website.
Sometimes when a customer purchases a product in multiple quantities (for example, quantity = 6), all license keys are delivered correctly, but the product stock is reduced twice. Because of this, the stock becomes incorrect or even negative.
Here are the relevant order notes/logs:
- SMEPay: Payment confirmed via webhook.
- Payment via UPI Pay.
- Stock levels reduced: Windows 11 Pro License – OEM Key (7 → 1)
- Stock levels reduced again: Windows 11 Pro License – OEM Key (1 → -5)
It looks like the webhook or payment confirmation may be triggering the license delivery and stock reduction more than once.
Could you please help me understand:
- Why stock is being reduced twice?
- Is the webhook triggering duplicate order completion or license generation?
- What settings or hooks should I check to prevent duplicate stock deduction?
My setup:
- WooCommerce + License Manager for WooCommerce
- SMEPay plugin integration
I would appreciate your guidance on how to fix this issue.
Thank you.
Hi @siteguard365,
We hope you are doing well.
We have responded to your latest thread. Kindly follow up with us there to prevent miscommunication.
Thank you