What's the proper way to write custom code when the order is processed?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 yıl önce
I need to make a web service call to start a workflow once an item is purchased.  I can edit the OrderProcessingService.PlaceOrder method and put my code at the bottom, but I was wondering if there was a better way to do this, maybe using a plugin or something.  Any advice?
12 yıl önce
Create a plugin that handles Order Update Events


    public class MyPlugin : BasePlugin, IConsumer<EntityUpdated<Order>>
12 yıl önce
thanks a lot, that works for me.
12 yıl önce
Works well for me too.
12 yıl önce
I think the post I was replying to was removed.  Disregard this.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.