File: /var/www/vhost/disk-apps/magento.bikenow.co/vendor/magento/module-vault/etc/frontend/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">
<type name="Magento\Checkout\Model\CompositeConfigProvider">
<arguments>
<argument name="configProviders" xsi:type="array">
<item name="vault_config_provider" xsi:type="object">Magento\Vault\Model\Ui\VaultConfigProvider</item>
<item name="vault_cards_config_provider" xsi:type="object">Magento\Vault\Model\Ui\TokensConfigProvider</item>
</argument>
</arguments>
</type>
<type name="Magento\Vault\Model\Ui\VaultConfigProvider">
<arguments>
<argument name="session" xsi:type="object">Magento\Customer\Model\Session</argument>
</arguments>
</type>
<type name="Magento\Checkout\Block\Checkout\LayoutProcessor">
<plugin name="ProcessPaymentVaultConfiguration" type="Magento\Vault\Plugin\PaymentVaultConfigurationProcess"/>
<plugin name="ProcessPaymentConfiguration" disabled="true"/>
</type>
<type name="Magento\Framework\Url\SecurityInfo">
<arguments>
<argument name="secureUrlList" xsi:type="array">
<item name="vault" xsi:type="string">/vault/</item>
</argument>
</arguments>
</type>
</config>