File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Controller/Adminhtml/Order/Create
view/adminhtml/templates/order/create/billing/method Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -45,10 +45,6 @@ public function execute()
4545 $ this ->_getOrderCreateModel ()->setPaymentData ($ paymentData );
4646 $ this ->_getOrderCreateModel ()->getQuote ()->getPayment ()->addData ($ paymentData );
4747 }
48- elseif ($ this ->getRequest ()->isPost ()) {
49- $ paymentData = array ('method ' => '' );
50- $ this ->_getOrderCreateModel ()->getQuote ()->getPayment ()->addData ($ paymentData );
51- }
5248
5349 $ order = $ this ->_getOrderCreateModel ()
5450 ->setIsValidate (true )
Original file line number Diff line number Diff line change @@ -92,5 +92,13 @@ script;
9292 <?= /* @noEscape */
9393 $ secureRenderer ->renderTag ('script ' , [], $ scriptString , false ) ?>
9494<?php else : ?>
95- <div class="admin__message-empty"><?= $ escaper ->escapeHtml (__ ('No Payment Methods ' )); ?> </div>
95+ <div class="admin__message-empty"><?= $ escaper ->escapeHtml (__ ('No Payment Methods ' )); ?>
96+ <span class="no-display">
97+ <input id="p_method"
98+ value=""
99+ type="text"
100+ name="payment[method]" class="admin__control-radio"
101+ checked="checked"/>
102+ </span>
103+ </div>
96104<?php endif ; ?>
You can’t perform that action at this time.
0 commit comments