| 1234567891011121314151617181920212223242526272829303132333435 |
- <?xml version="1.0"?>
- <!--
- /**
- * This file is part of the Klarna KP module
- *
- * (c) Klarna Bank AB (publ)
- *
- * For the full copyright and license information, please view the NOTICE
- * and LICENSE files that were distributed with this source code.
- */
- -->
- <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="checkout_klarna_kp_config" xsi:type="object">Klarna\Kp\Model\KpConfigProvider</item>
- </argument>
- </arguments>
- </type>
- <type name="Magento\Checkout\Block\Checkout\LayoutProcessor">
- <plugin sortOrder="1" name="klarnaKpLayoutProcessor"
- type="Klarna\Kp\Plugin\Checkout\Block\Checkout\LayoutProcessorPlugin"/>
- <plugin sortOrder="10" name="ProcessPaymentVaultConfiguration" type="Magento\Vault\Plugin\PaymentVaultConfigurationProcess"/>
- </type>
- <type name="Klarna\Ordermanagement\Controller\Api\Notification">
- <plugin sortOrder="1" name="klarnaKpNotification" type="Klarna\Kp\Plugin\Controller\Api\NotificationPlugin"/>
- </type>
- <type name="Magento\Payment\Model\MethodList">
- <plugin sortOrder="1" name="klarnaKpMethodList" type="Klarna\Kp\Plugin\Model\MethodListPlugin"/>
- </type>
- <type name="Magento\Checkout\Block\Onepage">
- <plugin sortOrder="1" name="klarnaKpOnepageCheckout" type="Klarna\Kp\Plugin\Checkout\Block\OnepagePlugin"/>
- </type>
- </config>
|