Skip to content

Commit 73bbcb9

Browse files
Chhandak.BaruaChhandak.Barua
authored andcommitted
ACP2E-3233: Admin can still place order even without payment method
1 parent 20d3301 commit 73bbcb9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Payment/Plugin/AdminSetPaymentMethod.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ public function __construct(
3535
*/
3636
public function beforeImportPostData(Create $subject, array $data)
3737
{
38-
if (isset($this->request->getParam('payment')['method'])) {
39-
$subject->setPaymentMethod('');
40-
}
38+
// if (isset($this->request->getParam('payment')['method'])) {
39+
// $subject->setPaymentMethod('');
40+
// }
4141
}
4242
}

0 commit comments

Comments
 (0)