Hide menu Last updated: Oct 24 2016
Area: Episerver Commerce Applies to versions: 10 and higher
Other versions:

Order events

Episerver Commerce provides two ways of hooking into order events for integration purposes, so you can take actions during an order's events.

IOrderRepositoryCallback

The IOrderRepositoryCallback handles the callback of orders. Those methods are called when order events (OnCreating, OnCreated, OnUpdating, OnUpdated, OnDeleting, OnDeleted) are triggered. Refer to Order Manipulation to learn how to work with orders.

Order Context events [Legacy]

OrderContext provides two events for integration purposes. These events are synchronous, so it is important for the actions to be quick or done asynchronously, so the event can return while the action does its work.

Comments