Triggered when an order is canceled.
The onOrderCanceled()
event handler runs when an order is canceled. The received OrderCanceled
object contains information about the order that was canceled, details related to the cancelation, and event metadata.
Note: Backend events don't work when previewing your site.
Information about the order that was canceled.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.