Update generating-invoice-after-payment.rst

Correction done
This commit is contained in:
Christophe C 2023-01-19 06:24:08 +01:00 committed by GitHub
parent 963b43667b
commit 22075a6fc4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -146,12 +146,12 @@ Let's start first with EventListeners that will override the default ones:
# config/services.yaml
services:
sylius_invoicing_plugin.listener.order_payment_paid:
class: App\EventListener\OrderPaymentPaidListener
arguments:
- '@sylius_invoicing_plugin.creator.invoice'
- '@sylius.command_bus'
tags:
- { name: messenger.message_handler }
class: App\EventListener\OrderPaymentPaidListener
arguments:
- '@sylius_invoicing_plugin.creator.invoice'
- '@sylius.command_bus'
tags:
- { name: messenger.message_handler }
sylius_invoicing_plugin.event_listener.order_placed:
class: App\EventListener\NoInvoiceOnOrderPlacedListener