V1 Cart API out of stock returning 403 error
-
Hello Dears,
I’m using your plugin (cart API v1) for a while but recently noticed when a user tries to add a quantity that exceeds the stock amount he gets a 403 forbidden HTTP error which is causing the app to trigger the authentication flow and causing crashes.
we believe the http code should be 200 instead as the error message is already in the response.
Reference wp-content/plugins/cart-rest-api-for-woocommerce/includes/api/cocart/v1/cart/class-cocart-controller.php line 735 and 822
Please advise
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.