Ensuring Event Triggering with Hooks

If client code employs hooks which override and then do not call the default implementation of that hook, these events will not trigger. The code which triggers these events is intentionally set within the unhooked default implementation. Please see below for a list of events for each hook:

  • Orders.SubmitOrder
    • CreateOrderEvent
    • SubmitOrderPackageEvent
  • Orders.ImportOrder
    • CreateOrderEvent
    • FinalizeOrderEvent
  • Orders.FinalizeAcceptedOrder
    • FinalizeOrderEvent
    • SubmitOrderPackageEvent
  • Orders.FinalizeNonAcceptedOrder
    • FinalizeOrderEvent
  • Orders.CancelOrder
    • VoidOrderEvent
  • Orders.ProcessOrderPayment
    • CreateOrderPaymentEvent
  • FraudPrevention.GetPreCheck
    • UpdateOrderPaymentStatusEvent
  • Orders.RefundPayment
    • RefundOrderPaymentEvent
  • Inventory.SaveItem
    • CreateInventoryItemEvent
    • UpdateInventoryItemEvent

Did this page help you?