Forum Replies Created

Viewing 1 replies (of 1 total)
  • 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:

    1. Why stock is being reduced twice?
    2. Is the webhook triggering duplicate order completion or license generation?
    3. 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.

Viewing 1 replies (of 1 total)