di.xml 903 B

12345678910111213141516171819202122
  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
  9. <type name="Magento\Authorizenet\Model\Directpost">
  10. <arguments>
  11. <argument name="session" xsi:type="object">Magento\Backend\Model\Session\Quote</argument>
  12. <argument name="data" xsi:type="array">
  13. <item name="formBlockType" xsi:type="string">Magento\Payment\Block\Adminhtml\Transparent\Form</item>
  14. </argument>
  15. </arguments>
  16. </type>
  17. <type name="Magento\Authorizenet\Model\Authorizenet">
  18. <arguments>
  19. <argument name="session" xsi:type="object">Magento\Backend\Model\Session\Quote</argument>
  20. </arguments>
  21. </type>
  22. </config>