script.phtml 486 B

1234567891011121314151617
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. /** @var Magento\AuthorizenetAcceptjs\Block\Payment $block */
  7. ?>
  8. <script type="text/x-magento-init">
  9. {
  10. "#payment_form_<?= $block->escapeJs($block->escapeHtml($block->getMethodCode())) ?>": {
  11. "Magento_AuthorizenetAcceptjs/js/payment-form": {
  12. "config": <?= /* @noEscape */ $block->getPaymentConfig() ?>
  13. }
  14. }
  15. }
  16. </script>