#
# Module services
#
# Copyright (c) 2011-present Qualiteam software Ltd. All rights reserved.
# See https://www.x-cart.com/license-agreement.html for license details.

services:
  _defaults:
    autowire: true

  XC\SagePay\EventListener\PaymentProcessor:
    tags:
      - {name: kernel.event_listener, event: xcart.payment.action.init.xc.sage_pay.model.payment.processor.sage_pay_form, method: onPaymentInitAction}
      - {name: kernel.event_listener, event: xcart.payment.action.pay.xc.sage_pay.model.payment.processor.sage_pay_form, method: onPaymentPayAction}
