We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d06337a commit e0b7464Copy full SHA for e0b7464
app/code/Magento/Sales/Model/AdminOrder/Create.php
@@ -1810,6 +1810,8 @@ public function importPostData($data)
1810
1811
if (isset($data['payment_method'])) {
1812
$this->setPaymentMethod($data['payment_method']);
1813
+ } else {
1814
+ $this->setPaymentMethod('');
1815
}
1816
1817
if (isset($data['coupon']['code'])) {
@@ -2180,7 +2182,6 @@ protected function _validate()
2180
2182
$this->_errors[] = __('The shipping method is missing. Select the shipping method and try again.');
2181
2183
2184
-
2185
if (!$this->getQuote()->getPayment()->getMethod()) {
2186
$this->_errors[] = __("The payment method isn't selected. Enter the payment method and try again.");
2187
} else {
0 commit comments