1

While applying shipping using "/V1/stripe/payments/apply_shipping" api call, if the product's (simple product of config) product qty is 1 exact then it falls into below condition in file.

Magento2/vendor/magento/module-catalog-inventory/Model/StockStateProvider.php

if (!$this->checkQty($stockItem, $summaryQty) || !$this->checkQty($stockItem, $qty)) {
            
            $message = __('The requested qty is not available');

I am not sure why its happening, any thoughts on this ?

2
  • not able to place order with qty 1
    – devhs
    Commented Jun 29, 2021 at 12:30
  • any thoughts on this ?
    – devhs
    Commented Jun 30, 2021 at 4:39

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.