zenbaei
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Not enough stock validation bypassed to create a new orderI’ve replicated the error using twenty twenty-five theme and only 2 activated plugins as you advised. Kindly find the video showing the scenario here: https://fex.net/s/p9sfxzx
Thanks for your support
Forum: Plugins
In reply to: [WooCommerce] Not enough stock validation bypassed to create a new orderI’m really thankful for your kind support and feedback, I’ve attached a new video that clarify what I’d expect.
I would expect 2 things:
1- After the first order, once we moved into payment page and an order has been created in “Pending Payment” status, the cart would be cleared because we already have an order now for this cart.
2- On the second order, after re-adding the reserved item + any other item, on checkout the stock validation error will show as expected, but no other order would be created because there is a validation error.
file link: https://fex.net/s/vlb7vlk
Thanks for your support
Forum: Plugins
In reply to: [WooCommerce] Not enough stock validation bypassed to create a new orderThanks for your support, Yes the product has only 1 item in stock.
Forum: Plugins
In reply to: [WooCommerce] Not enough stock validation bypassed to create a new orderHi @lovingbro
Thanks for your help, I tried it with stripe but the made the order as “Processing”, also tried Paypal but they don’t create an order unless the payment has been completed.
The plugin I am having this issue with is Paymob Payment Gateway, but I believe their implementation just sets the order to one of the already defaulted by woocommerce “Pending Payment” and not a custom status, and then the flow of item reservation is a woocommerce implementation that I don’t think they interfere with. What is your thoughts!
Forum: Plugins
In reply to: [WooCommerce] Not enough stock validation bypassed to create a new orderHi @lovingbro,
Thanks for your suggestions, I think I won’t be able to create an order with “Pending Payments’ status using default woocommerce payments, can’t i just hook into the method that sets the order status and alter it to “Pending” instead of “On Hold” perhaps same reservation logic will be triggered! what do you think?
Forum: Plugins
In reply to: [WooCommerce] Not enough stock validation bypassed to create a new orderHi @lovingbro ,
Thanks for your support, I’ve followed your instructions by disabling the payment gateway and rely on default offline payments, the problem is that in this case the order is set as “on hold” and the item won’t be available online as with the case of ‘Pending Payment’ (available but reserved for set of time). And in case I changed the status manually to “Pending” the item will become available but not reserved, and I re-order it, the stock validation will not fire. Any suggestions!
Thank you