Skip to content

Commit 91c7bfa

Browse files
MC-17984: Authorize.net cannot place order from admin panel
1 parent 915b493 commit 91c7bfa

File tree

1 file changed

+1
-2
lines changed
  • app/code/Magento/AuthorizenetAcceptjs/view/adminhtml/templates/payment

1 file changed

+1
-2
lines changed

app/code/Magento/AuthorizenetAcceptjs/view/adminhtml/templates/payment/script.phtml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@
1515
'domReady!'
1616
], function(AuthorizenetAcceptjs, $) {
1717
var config = <?= /* @noEscape */ $block->getPaymentConfig() ?>,
18-
payment,
1918
form = $('#payment_form_<?= /* @noEscape */ $block->escapeJs($block->escapeHtml($block->getMethodCode())) ?>');
2019

2120
config.active = form.length > 0 && !form.is(':hidden');
22-
payment = new AuthorizenetAcceptjs(config);
21+
new AuthorizenetAcceptjs(config);
2322
});
2423
//]]>
2524
</script>

0 commit comments

Comments
 (0)