Missing emails when change order status in queue

Viewed 20

No mail is sent (asynchronously) when performing the following transition in the queue. When executing synchronously, everything is done correctly.

$this->stateMachineRegistry->transition(
    new Transition(
        OrderDefinition::ENTITY_NAME,
        $order->getId(),
        'process',
        'stateId'
    ), $event->getContext()
);
0 Answers
Related