Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 
 

83 Zeilen
3.9 KiB

  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. <virtualType name="Magento\Paypal\Model\Session\Storage" type="Magento\Framework\Session\Storage">
  10. <arguments>
  11. <argument name="namespace" xsi:type="string">paypal</argument>
  12. </arguments>
  13. </virtualType>
  14. <virtualType name="Magento\Paypal\Model\Session" type="Magento\Framework\Session\Generic">
  15. <arguments>
  16. <argument name="storage" xsi:type="object">Magento\Paypal\Model\Session\Storage</argument>
  17. </arguments>
  18. </virtualType>
  19. <virtualType name="Magento\Paypal\Model\PayflowSession\Storage" type="Magento\Framework\Session\Storage">
  20. <arguments>
  21. <argument name="namespace" xsi:type="string">paypal_payflow</argument>
  22. </arguments>
  23. </virtualType>
  24. <virtualType name="Magento\Paypal\Model\PayflowSession" type="Magento\Framework\Session\Generic">
  25. <arguments>
  26. <argument name="storage" xsi:type="object">Magento\Paypal\Model\PayflowSession\Storage</argument>
  27. </arguments>
  28. </virtualType>
  29. <type name="Magento\Paypal\Model\Config\StructurePlugin">
  30. <arguments>
  31. <argument xsi:type="object" name="backendHelper">Magento\Paypal\Helper\Backend\Proxy</argument>
  32. </arguments>
  33. </type>
  34. <type name="Magento\Config\Model\Config\Structure">
  35. <plugin name="paypal_system_configuration" type="Magento\Paypal\Model\Config\StructurePlugin"/>
  36. </type>
  37. <type name="Magento\Config\Model\Config\Structure\Element\Field">
  38. <plugin name="paypal_system_configuration_field" type="Magento\Paypal\Model\Config\Structure\Element\FieldPlugin"/>
  39. </type>
  40. <type name="Magento\Backend\Block\Store\Switcher">
  41. <plugin name="paypal_store_switcher" type="Magento\Paypal\Block\Adminhtml\Store\SwitcherPlugin"/>
  42. </type>
  43. <type name="Magento\Paypal\Controller\Adminhtml\Transparent\RequestSecureToken">
  44. <arguments>
  45. <argument name="sessionManager" xsi:type="object">Magento\Backend\Model\Session\Quote</argument>
  46. </arguments>
  47. </type>
  48. <type name="Magento\Paypal\Model\Payflow\Transparent">
  49. <arguments>
  50. <argument name="paymentTokenFactory" xsi:type="object">Magento\Vault\Model\CreditCardTokenFactory</argument>
  51. <argument name="data" xsi:type="array">
  52. <item name="formBlockType" xsi:type="string">Magento\Paypal\Block\Adminhtml\Payflowpro\CcForm</item>
  53. </argument>
  54. </arguments>
  55. </type>
  56. <type name="Magento\Paypal\Block\Payment\Info">
  57. <arguments>
  58. <argument name="data" xsi:type="array">
  59. <item xsi:type="string" name="is_secure_mode">0</item>
  60. </argument>
  61. </arguments>
  62. </type>
  63. <type name="Magento\Paypal\Model\Config\Rules\Reader">
  64. <arguments>
  65. <argument xsi:type="object" name="fileResolver">Magento\Paypal\Model\Config\Rules\FileResolver</argument>
  66. <argument xsi:type="object" name="schemaLocator">Magento\Paypal\Model\Config\Rules\SchemaLocator</argument>
  67. </arguments>
  68. </type>
  69. <type name="Magento\Vault\Model\Ui\Adminhtml\TokensConfigProvider">
  70. <arguments>
  71. <argument name="tokenUiComponentProviders" xsi:type="array">
  72. <item name="payflowpro" xsi:type="object">\Magento\Paypal\Model\Payflow\Ui\Adminhtml\TokenUiComponentProvider</item>
  73. </argument>
  74. </arguments>
  75. </type>
  76. <type name="Magento\Paypal\Controller\Adminhtml\Transparent\Response">
  77. <arguments>
  78. <argument name="sessionTransparent" xsi:type="object">Magento\Framework\Session\Generic</argument>
  79. </arguments>
  80. </type>
  81. </config>