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()
45
45
$ this ->_getOrderCreateModel ()->setPaymentData ($ paymentData );
46
46
$ this ->_getOrderCreateModel ()->getQuote ()->getPayment ()->addData ($ paymentData );
47
47
}
48
- elseif ($ this ->getRequest ()->isPost ()) {
49
- $ paymentData = array ('method ' => '' );
50
- $ this ->_getOrderCreateModel ()->getQuote ()->getPayment ()->addData ($ paymentData );
51
- }
52
48
53
49
$ order = $ this ->_getOrderCreateModel ()
54
50
->setIsValidate (true )
Original file line number Diff line number Diff line change @@ -92,5 +92,13 @@ script;
92
92
<?= /* @noEscape */
93
93
$ secureRenderer ->renderTag ('script ' , [], $ scriptString , false ) ?>
94
94
<?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>
96
104
<?php endif ; ?>
You can’t perform that action at this time.
0 commit comments