onOrderEnded( )
An event that triggers when an order expires or is canceled immediately.
The onOrderEnded()
event handler runs when an order expires.
The received OrderEndedEvent
object contains information about the order that expired.
Note: Backend events don't work when previewing your site.
Method Declaration
Copy
Method Parameters
eventOrderEndedEventRequired
Information about the order that ended and metadata for the event.
Was this helpful?
Yes
No