HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vhost/disk-apps/magento.bikenow.co/vendor/magento/module-paypal/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">
    <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>
    <type name="Magento\Paypal\Controller\Express\AbstractExpress">
        <arguments>
            <argument name="paypalSession" xsi:type="object">Magento\Paypal\Model\Session</argument>
        </arguments>
    </type>
    <type name="Magento\Paypal\Controller\Express\GetToken">
        <arguments>
            <argument name="paypalSession" xsi:type="object">Magento\Paypal\Model\Session</argument>
        </arguments>
    </type>
    <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\Framework\Url\SecurityInfo">
        <arguments>
            <argument name="secureUrlList" xsi:type="array">
                <item name="paypal_billing" xsi:type="string">/paypal/billing/</item>
                <item name="paypal_billing_agreement" xsi:type="string">/paypal/billing_agreement/</item>
                <item name="paypal_bml" xsi:type="string">/paypal/bml/</item>
                <item name="paypal_hostedpro" xsi:type="string">/paypal/hostedpro/</item>
                <item name="paypal_ipn" xsi:type="string">/paypal/ipn/</item>
                <item name="paypal_payflow" xsi:type="string">/paypal/payflow/</item>
                <item name="paypal_payflowadvanced" xsi:type="string">/paypal/payflowadvanced/</item>
                <item name="paypal_payflowbml" xsi:type="string">/paypal/payflowbml/</item>
                <item name="paypal_payflowexpress" xsi:type="string">/paypal/payflowexpress/</item>
                <item name="paypal_transparent" xsi:type="string">/paypal/transparent/</item>
                <item name="paypal_express" xsi:type="string">/paypal/express/</item>
            </argument>
        </arguments>
    </type>
    <type name="Magento\Paypal\Controller\Transparent\RequestSecureToken">
        <arguments>
            <argument name="sessionManager" xsi:type="object">Magento\Checkout\Model\Session</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">1</item>
            </argument>
        </arguments>
    </type>
    <type name="Magento\Payment\Model\CcGenericConfigProvider">
        <arguments>
            <argument name="methodCodes" xsi:type="array">
                <item name="payflowpro" xsi:type="const">Magento\Paypal\Model\Config::METHOD_PAYFLOWPRO</item>
            </argument>
        </arguments>
    </type>
    <virtualType name="PaypalIframeCcConfigProvider" type="Magento\Payment\Model\IframeConfigProvider">
        <arguments>
            <argument name="methodCode" xsi:type="const">Magento\Paypal\Model\Config::METHOD_PAYFLOWPRO</argument>
        </arguments>
    </virtualType>
    <type name="Magento\Checkout\Model\CompositeConfigProvider">
        <arguments>
            <argument name="configProviders" xsi:type="array">
                <item name="paypal_express_config_provider" xsi:type="object">Magento\Paypal\Model\ExpressConfigProvider</item>
                <item name="paypal_iframe_config_provider" xsi:type="object">Magento\Paypal\Model\IframeConfigProvider</item>
                <item name="paypal_billing_agreement_config_provider" xsi:type="object">Magento\Paypal\Model\BillingAgreementConfigProvider</item>
                <item name="paypal_iframe_cc_config_provider" xsi:type="object">PaypalIframeCcConfigProvider</item>
            </argument>
        </arguments>
    </type>
    <type name="Magento\Paypal\Block\Express\InContext\Minicart\SmartButton">
        <arguments>
            <argument name="data" xsi:type="array">
                <item name="template" xsi:type="string">Magento_Paypal::express/in-context/shortcut/button.phtml</item>
                <item name="alias" xsi:type="string">paypal.express-in-context.mini-cart</item>
                <item name="button_id" xsi:type="string">paypal-express-in-context-mini-cart</item>
                <item name="link_data_action" xsi:type="string">paypal-in-context-checkout</item>
            </argument>
            <argument name="payment" xsi:type="object">Magento\Paypal\Model\Express</argument>
        </arguments>
    </type>
    <type name="Magento\Paypal\Block\Express\InContext\SmartButton">
        <arguments>
            <argument name="data" xsi:type="array">
                <item name="alias" xsi:type="string">product.info.addtocart.paypalexpress</item>
                <item name="template" xsi:type="string">express/shortcut_button.phtml</item>
            </argument>
        </arguments>
    </type>


    <type name="Magento\Vault\Model\Ui\TokensConfigProvider">
        <arguments>
            <argument name="tokenUiComponentProviders" xsi:type="array">
                <item name="payflowpro" xsi:type="object">Magento\Paypal\Model\Payflow\Ui\TokenUiComponentProvider</item>
            </argument>
        </arguments>
    </type>
    <type name="Magento\Customer\CustomerData\SectionPool">
        <arguments>
            <argument name="sectionSourceMap" xsi:type="array">
                <item name="paypal-billing-agreement" xsi:type="string">Magento\Paypal\CustomerData\BillingAgreement</item>
            </argument>
        </arguments>
    </type>
    <type name="Magento\Quote\Model\QuoteRepository\SaveHandler">
        <plugin name="paypal-cartitem" type="Magento\Paypal\Model\Express\QuotePlugin"/>
    </type>

    <type name="Magento\Paypal\Model\SmartButtonConfig">
        <arguments>
            <argument name="defaultStyles" xsi:type="array">
                <item name="checkout" xsi:type="array">
                    <item name="layout" xsi:type="string">vertical</item>
                    <item name="size" xsi:type="string">responsive</item>
                    <item name="color" xsi:type="string">gold</item>
                    <item name="shape" xsi:type="string">rect</item>
                    <item name="label" xsi:type="string">paypal</item>
                </item>
                <item name="cart" xsi:type="array">
                    <item name="layout" xsi:type="string">vertical</item>
                    <item name="size" xsi:type="string">responsive</item>
                    <item name="color" xsi:type="string">gold</item>
                    <item name="shape" xsi:type="string">rect</item>
                    <item name="label" xsi:type="string">paypal</item>
                </item>
                <item name="mini_cart" xsi:type="array">
                    <item name="layout" xsi:type="string">vertical</item>
                    <item name="size" xsi:type="string">responsive</item>
                    <item name="color" xsi:type="string">gold</item>
                    <item name="shape" xsi:type="string">rect</item>
                    <item name="label" xsi:type="string">paypal</item>
                </item>
                <item name="product" xsi:type="array">
                    <item name="layout" xsi:type="string">horizontal</item>
                    <item name="size" xsi:type="string">responsive</item>
                    <item name="color" xsi:type="string">gold</item>
                    <item name="shape" xsi:type="string">pill</item>
                    <item name="label" xsi:type="string">buynow</item>
                </item>
            </argument>
            <argument name="disallowedFundingMap" xsi:type="array">
                <item name="CREDIT" xsi:type="string">credit</item>
                <item name="CARD" xsi:type="string">card</item>
                <item name="ELV" xsi:type="string">sepa</item>
            </argument>
            <argument name="unsupportedPaymentMethods" xsi:type="array">
                <item name="venmo" xsi:type="string">venmo</item>
                <item name="bancontact" xsi:type="string">bancontact</item>
                <item name="eps" xsi:type="string">eps</item>
                <item name="giropay" xsi:type="string">giropay</item>
                <item name="ideal" xsi:type="string">ideal</item>
                <item name="mybank" xsi:type="string">mybank</item>
                <item name="p24" xsi:type="string">p24</item>
                <item name="sofort" xsi:type="string">sofort</item>
            </argument>
            <argument name="localeResolver" xsi:type="object">Magento\Paypal\Model\Express\LocaleResolver</argument>
        </arguments>
    </type>
    <type name="Magento\Paypal\Block\Express\InContext\Component">
        <arguments>
            <argument name="localeResolver" xsi:type="object">Magento\Paypal\Model\Express\LocaleResolver</argument>
        </arguments>
    </type>
</config>