- 🇪🇸Spain alexortega_98 Seville
Try out the pre/post transition events:
public static function getSubscribedEvents() { return [ 'commerce_order.place.post_transition' => 'onOrderPlace', ]; } public function onOrderPlace(WorkflowTransitionEvent $event) { ...
- Status changed to Closed: outdated
about 1 year ago 10:19am 17 November 2023 - 🇮🇱Israel jsacksick
There's a separate event that is dispatched when the order is paid, it is
OrderEvents::ORDER_PAID
. Closing this as this an outdated issue.