Hi guys,
I made a simple notification subscriber that listenes to the Order.Steps.Completed event.
My problem is that the event is run twice when i complete an order.
My code looks like this:
public class budgetMaxOrderStepsCompleted : Dynamicweb.Extensibility.NotificationSubscriber{
public override void OnNotify( string notification, object[] args ) {
SaveSomething();
}
}
The function SaveSomething() saves the OrderID to the database, and i can se that 2 records are saved on each order completion.
I testet it on my local machine, and i only ran once, now that it's live these double posts occur.
as far as i can see both my local and the live solution use the same version of DW.