<?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\GuestPaymentInformationManagement">
<plugin name="inject_guest_address_for_nologin" type="Magento\Persistent\Model\Checkout\GuestPaymentInformationManagementPlugin" />
</type>
<type name="Magento\Checkout\Model\GuestShippingInformationManagement">
<plugin name="persistent_convert_customer_cart_to_guest_cart"
type="Magento\Persistent\Model\Checkout\GuestShippingInformationManagementPlugin"/>
</type>
<type name="Magento\Customer\Model\Customer\AuthorizationComposite">
<arguments>
<argument name="authorizationChecks" xsi:type="array">
<item name="persistent_rest_customer_authorization" xsi:type="object">Magento\Persistent\Model\Customer\Authorization</item>
</argument>
</arguments>
</type>
</config>
|