November Happy Hour will be moved to Thursday December 5th.
Hi all,
please help me to get on from this. I have requirement to add Payment from cart to Purchase order.
For this I tried as below
var purchaseOrder = _orderRepository.Load(orderRef);
var cartPayment = cart.GetFirstForm().Payments.FirstOrDefault();
var POPayment = purchaseOrder.GetFirstForm().Payments.FirstOrDefault();
In both case its getting exception as " Value cannot be null".
Help me to achieve the same.
Thank You!!
If you debug your code, which code is throwing that exception?
In both 1 and 2 cases are throwing an exception as I mentioned
No, I don't mean which option, but which exactly line is throw exception and with what stacktrace?
Hi all,
please help me to get on from this. I have requirement to add Payment from cart to Purchase order.
For this I tried as below
var purchaseOrder = _orderRepository.Load(orderRef);
var cartPayment = cart.GetFirstForm().Payments.FirstOrDefault();
var POPayment = purchaseOrder.GetFirstForm().Payments.FirstOrDefault();
In both case its getting exception as " Value cannot be null".
Help me to achieve the same.
Thank You!!