Skip to content

Commit 8062e3b

Browse files
Chhandak.BaruaChhandak.Barua
authored andcommitted
ACP2E-3233: Admin can still place order even without payment method
1 parent 84a6f0d commit 8062e3b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Sales/Model/AdminOrder/Create.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2180,6 +2180,7 @@ protected function _validate()
21802180
$this->_errors[] = __('The shipping method is missing. Select the shipping method and try again.');
21812181
}
21822182
}
2183+
21832184
if (!$this->getQuote()->getPayment()->getMethod()) {
21842185
$this->_errors[] = __("The payment method isn't selected. Enter the payment method and try again.");
21852186
} else {

0 commit comments

Comments
 (0)