onOrderCreated( )


Triggered when an order is created.

The onOrderCreated() event handler runs when an order is created. The received OrderCreated object contains information about the order that was created and event metadata.

Note: Backend events don't work when previewing your site.

Method Declaration
Copy
Method Parameters
eventOrderCreated

Information about the order that was created.

Did this help?