Sylius/config/services_test_cached_payum.yaml
2024-10-18 12:00:11 +02:00

11 lines
567 B
YAML

imports:
- { resource: "services_test_cached.yaml" }
services:
# Prioritize Payum by tagging services with a higher priority (or lower for tagged_iterator).
'sylius_payum.command_provider.payment_request.offline':
class: Sylius\Bundle\PaymentBundle\CommandProvider\ActionsCommandProvider
arguments:
- !tagged_locator { tag: 'sylius_payum.command_provider.payment_request.offline', index_by: 'action' }
tags:
- { name: 'sylius.payment_request.command_provider', gateway-factory: 'offline', priority: -100 }