File: /var/www/vhost/disk-apps/magento.bikenow.co/vendor/magento/module-paypal/etc/adminhtml/di.xml
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<virtualType name="Magento\Paypal\Model\Session\Storage" type="Magento\Framework\Session\Storage">
<arguments>
<argument name="namespace" xsi:type="string">paypal</argument>
</arguments>
</virtualType>
<virtualType name="Magento\Paypal\Model\Session" type="Magento\Framework\Session\Generic">
<arguments>
<argument name="storage" xsi:type="object">Magento\Paypal\Model\Session\Storage</argument>
</arguments>
</virtualType>
<virtualType name="Magento\Paypal\Model\PayflowSession\Storage" type="Magento\Framework\Session\Storage">
<arguments>
<argument name="namespace" xsi:type="string">paypal_payflow</argument>
</arguments>
</virtualType>
<virtualType name="Magento\Paypal\Model\PayflowSession" type="Magento\Framework\Session\Generic">
<arguments>
<argument name="storage" xsi:type="object">Magento\Paypal\Model\PayflowSession\Storage</argument>
</arguments>
</virtualType>
<type name="Magento\Config\Model\Config\Structure">
<plugin name="paypal_system_configuration" type="Magento\Paypal\Model\Config\StructurePlugin"/>
</type>
<type name="Magento\Config\Model\Config\Structure\Element\Field">
<plugin name="paypal_system_configuration_field" type="Magento\Paypal\Model\Config\Structure\Element\FieldPlugin"/>
</type>
<type name="Magento\Backend\Block\Store\Switcher">
<plugin name="paypal_store_switcher" type="Magento\Paypal\Block\Adminhtml\Store\SwitcherPlugin"/>
</type>
<type name="Magento\Paypal\Controller\Adminhtml\Transparent\RequestSecureToken">
<arguments>
<argument name="sessionManager" xsi:type="object">Magento\Backend\Model\Session\Quote</argument>
</arguments>
</type>
<type name="Magento\Paypal\Model\Payflow\Transparent">
<arguments>
<argument name="paymentTokenFactory" xsi:type="object">Magento\Vault\Model\CreditCardTokenFactory</argument>
<argument name="data" xsi:type="array">
<item name="formBlockType" xsi:type="string">Magento\Paypal\Block\Adminhtml\Payflowpro\CcForm</item>
</argument>
</arguments>
</type>
<type name="Magento\Paypal\Block\Payment\Info">
<arguments>
<argument name="data" xsi:type="array">
<item xsi:type="string" name="is_secure_mode">0</item>
</argument>
</arguments>
</type>
<type name="Magento\Paypal\Model\Config\Rules\Reader">
<arguments>
<argument xsi:type="object" name="fileResolver">Magento\Paypal\Model\Config\Rules\FileResolver</argument>
<argument xsi:type="object" name="schemaLocator">Magento\Paypal\Model\Config\Rules\SchemaLocator</argument>
</arguments>
</type>
<type name="Magento\Vault\Model\Ui\Adminhtml\TokensConfigProvider">
<arguments>
<argument name="tokenUiComponentProviders" xsi:type="array">
<item name="payflowpro" xsi:type="object">\Magento\Paypal\Model\Payflow\Ui\Adminhtml\TokenUiComponentProvider</item>
</argument>
</arguments>
</type>
</config>