This event will be deprecated on September 30, 2025.
Replace with onOrderCreated.
Triggered on successful creation of a new order. This means the order has been validated and the payment has cleared, and now the site owner can accept or cancel the order.
handler(event: OrderNewOrderEnvelope): void | Promise<void>