Sylius/config/services_test_cached_payum.yaml

14 lines
586 B
YAML

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