Customer payment page checking stock even if stock management is disabled
-
Hi!
I’m currently working on payment gateway.
I have disabled stock management in WooCommerce inventory settings.
WooCommerce version is 3.5.1.If payment has not been successful, order status is set to failed and user is redirected to order received page.
So when I click on pay button, I get “Sorry, we do not have enough “x” in stock to fulfill your order (0 available)” message.
When debugging, I noticed there is no check if stock management is enabled.
wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php:117Any help appreciated
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Customer payment page checking stock even if stock management is disabled’ is closed to new replies.