
When i want to set in SalesOrder Payment Amount in .NET like below
total = salesOrder.FreightAmount.Value + salesOrder.TaxAmount.Value + salesOrder.LineTotalAmount.Value;
salesOrder.PaymentAmount = new MoneyAmount()
{
Currency = "usd",
DecimalDigits = 2,
Value = total
};
I am getting: PaymentAmount does not match line deposit plus + credit card payment total.
How may i calculate the deposit plus and credit card payment? Or how to solve this?
*This post is locked for comments
I have the same question (0)