<?xml version="1.0" encoding="UTF-8"?>

<!--

 This file is part of the Sylius package.

 (c) Sylius Sp. z o.o.

 For the full copyright and license information, please view the LICENSE
 file that was distributed with this source code.

-->

<container
    xmlns="http://symfony.com/schema/dic/services"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"
>
    <services>
        <service public="true" id="sylius_shop.controller.order_pay" parent="sylius.controller.order_pay">
            <argument type="tagged" tag="sylius_shop.provider.order_pay.pay_response" />
            <argument type="tagged" tag="sylius_shop.provider.order_pay.after_pay_response" />
        </service>

        <service public="true" id="sylius_shop.controller.payment_request_pay" parent="sylius.controller.payment_request_pay">
            <argument type="service" id="sylius_shop.provider.order_pay.after_pay_url" />
            <tag name="controller.service_arguments" />
        </service>
    </services>
</container>
