Skip to content

Commit

Permalink
Do not touch payments on edited orders
Browse files Browse the repository at this point in the history
  • Loading branch information
Zales0123 committed Aug 20, 2024
1 parent b91f44b commit 7b19388
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions src/Resources/config/services/order_processing.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,24 @@
<container xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://symfony.com/schema/dic/services"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<services>
<service id="setono_sylius_order_edit.order_processing.order_payment_processor"
class="Setono\SyliusOrderEditPlugin\OrderProcessing\OrderPaymentProcessor"
decorates="sylius.order_processing.order_payment_processor.checkout" decoration-priority="64">
<service
id="setono_sylius_order_edit.order_processing.order_payment_processor"
class="Setono\SyliusOrderEditPlugin\OrderProcessing\OrderPaymentProcessor"
decorates="sylius.order_processing.order_payment_processor.checkout" decoration-priority="64"
>
<argument type="service" id="setono_sylius_order_edit.order_processing.order_payment_processor.inner"/>
<argument type="service" id="request_stack"/>
</service>

<service
id="setono_sylius_order_edit.order_processing.order_payment_processor.after_checkout"
class="Setono\SyliusOrderEditPlugin\OrderProcessing\OrderPaymentProcessor"
decorates="sylius.order_processing.order_payment_processor.after_checkout" decoration-priority="64"
>
<argument type="service" id="setono_sylius_order_edit.order_processing.order_payment_processor.after_checkout.inner"/>
<argument type="service" id="request_stack"/>
</service>

<service
id="setono_sylius_order_edit.checker.post_update_changes_checker"
class="\Setono\SyliusOrderEditPlugin\Checker\PostUpdateChangesChecker"
Expand Down

0 comments on commit 7b19388

Please sign in to comment.