Make PayumBundle command provider running before PaymentBundle one

This commit is contained in:
Francis Hilaire 2024-11-09 13:55:56 +01:00
parent 11a6cbeda2
commit 28a7c293e7
No known key found for this signature in database
GPG key ID: 3392F830BF33D421

View file

@ -19,7 +19,7 @@
<services>
<service id="sylius_payum.command_provider.payment_request.offline" class="Sylius\Bundle\PayumBundle\PaymentRequest\CommandProvider\PayumActionsCommandProvider">
<argument type="tagged_locator" tag="sylius_payum.command_provider.payment_request.offline" index-by="action" />
<tag name="sylius.payment_request.command_provider" gateway-factory="offline" priority="100" />
<tag name="sylius.payment_request.command_provider" gateway-factory="offline" priority="-100" />
</service>
<service id="sylius_payum.command_provider.payment_request.offline.capture" class="Sylius\Bundle\PayumBundle\PaymentRequest\CommandProvider\CaptureCommandProvider">