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
By submitting this form, I agree to the data entered being used by GrandNode for sending newsletters. If you want, you can unsubscribe at any time by using the link visible in the footer of emails sent to you. Learn more about privacy policy.