Example #1
0
 /**
  * @param OrderEvent $event
  */
 public function updateTransactionRef(OrderEvent $event)
 {
     $order = $event->getOrder();
     $order->setTransactionRef($event->getTransactionRef());
     $order->save();
     $event->setOrder($order);
 }