note: it works local fine - problem online only on the same database with the same configurations ?
i try to update 2 fields only
OrderStatusId and PaymentStatusId they don't updated too
// update order // save payment data var order = _orderService.GetOrderByNumber(Convert.ToInt32(model.OrderId)); order.CardType = paymentType; // Saved order.AuthorizationTransactionCode = model.hash; // Saved order.AuthorizationTransactionResult = model.payid; // Saved and its CAPTURED as i set if condition order.CaptureTransactionId = model.PaymetRef; // Saved order.CaptureTransactionResult = model.result.ToUpper(); // Saved
// set paid if done if (model.result == "CAPTURED") { order.PaymentStatusId = Convert.ToInt32(PaymentStatus.Paid); // not saved order.OrderStatusId = Convert.ToInt32(OrderStatus.Processing); // not saved