Hi DynamicWeb
in my custom destination provider.
I at some point need to change the orderstate of an order.
for that i use this code
Dynamicweb.eCommerce.Orders.Order order = Dynamicweb.eCommerce.Orders.Order.GetOrderByID(ord.OrderID);
string ordsid = order.OrderState.ID = Helper.GetOrderState(op.op_level);
order.StateID = ordsid;
order.Save(order.ID);
I tested it many times on localhost enviroment without any problems. But when i put this live it throws any error.
Localhost version of DW is 8.9.0.0 and live version is 8.6.1.16
Dont know if this has any influence on this?