Question

When I try place order, it show "Please choose a valid discount amount." 2.3.4

Was it helpful?

Solution

Section responsible for that error looks like

        // Check if discount amount not negative
        if ($this->hasDiscountAmount()) {
            if ((int)$this->getDiscountAmount() < 0) {
                throw new \Magento\Framework\Exception\LocalizedException(__('Please choose a valid discount amount.'));
            }
        }

Check your cart rules after migration cause this error is thrown when applied discount amount is less than 0.

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top