Triggered after a new order is placed.
Inside the event handler you can perform further order processing.
Event handler example:
public function subscribeEvents()
{
Backend::$events->addEvent('shop:onNewOrder', $this, 'process_new_order');
}
public function process_new_order($order_id)
{
$order = Shop_Order::create()->find($order_id);
foreach ($order->items as $item)
{
// Do something with order items
}
}