Hi there,
I am using this plugin on my Sylius eshop and I got a problem when some orders which are paid through GoPay fire the payment events twice.
My events are configured like this:
winzou_state_machine:
sylius_payment:
callbacks:
after:
generate_invoice:
on: [ 'complete' ]
do: [ '@App\StateMachine\Order\Callback\InvoiceGenerator', 'generateInvoice' ]
args: [ 'object' ]
Which e.g. means that most of the orders generated two invoices, send users duplicate emails, etc.
Am I doing something wrong?
Hi there,
I am using this plugin on my Sylius eshop and I got a problem when some orders which are paid through GoPay fire the payment events twice.
My events are configured like this:
Which e.g. means that most of the orders generated two invoices, send users duplicate emails, etc.
Am I doing something wrong?