Update new order before invoice is generated
-
Hello,
I have to check order items for stock (stock is checked through REST API from ERP and if stock is 0 then I should remove that item from order) after user have pressed Submit and before order is created and invoice will be generated. I plan to do that check using woocommerce_review_order_after_submit hook. Is that hook the right place to do that or its too late?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Update new order before invoice is generated’ is closed to new replies.