Skip to content

Commit 1170101

Browse files
Chhandak.BaruaChhandak.Barua
authored andcommitted
ACP2E-3233: Admin can still place order even without payment method
1 parent 5a648c2 commit 1170101

File tree

1 file changed

+0
-5
lines changed
  • app/code/Magento/Sales/Controller/Adminhtml/Order/Create

1 file changed

+0
-5
lines changed

app/code/Magento/Sales/Controller/Adminhtml/Order/Create/LoadBlock.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,6 @@ public function execute()
9090
$this->storeManager->setCurrentStore($request->getParam('store_id'));
9191
}
9292
try {
93-
// if (!$request->getParam('payment')) {
94-
// $paymentData = array('payment' => array('method' => ''));
95-
// //$this->getRequest()->setPost($paymentData);
96-
// //$request->setParams($paymentData);
97-
// }
9893
$this->_initSession()->_processData();
9994
} catch (\Magento\Framework\Exception\LocalizedException $e) {
10095
$this->_reloadQuote();

0 commit comments

Comments
 (0)