Skip to content

Commit 8b0d3d2

Browse files
committed
MAGETWO-99590: [Auth.net Accept.js] Order is placed only from second time in Admin with Auth.net payment method
1 parent 39f5dea commit 8b0d3d2

File tree

1 file changed

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

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@
99
<script>
1010
//<![CDATA[
1111
require(
12-
[
13-
'Magento_AuthorizenetAcceptjs/js/payment-form'
14-
], function(Authorizenet) {
12+
['Magento_AuthorizenetAcceptjs/js/payment-form'],
13+
function(Authorizenet) {
1514
var config = <?= /* @noEscape */ $block->getPaymentConfig() ?>,
1615
form = "#payment_form_<?= $block->escapeJs($block->escapeHtml($block->getMethodCode())) ?>";
1716

0 commit comments

Comments
 (0)