Can't place order after migration data from Magento 1 to Magento 2
-
13-04-2021 - |
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