OrderUpdated Event

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
In nopCommerce 2.x, how do I do intercept the order updated event? Here is how I did in in nop 1.9 in Global.asax

<script runat="server">

    void Application_BeginRequest(object sender, EventArgs e)
    {

        //event handlers for avalara
        EventContext.Current.OrderUpdated += nopCommerce.AvalaraTax.AvalaraTaxAPI.OrderUpdatedHandler;
    }
</script>
12 years ago
1. Create a new class which implements 'IConsumer<EntityUpdated<Order>>' interface
2. Implement a handler:
public virtual void HandleEvent(EntityUpdated<Order> eventMessage)
        {
          ...  
        }
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.