Troubleshooting
Problem
An order is being imported using the API - importOrder, with the following charges at header level -
HeaderCharges>
Cause
This is due to attribute OtherCharges not being passed in the importOrder. This is the sum of all the charges at the header level.
Resolving The Problem
Pass the attribute OtherCharges at the order level .This will be the sum of all the charges at th header level In the use case cited, OtherCharges will be SHIPPING+MERCH CHARGE (5.0+2.0) should be set to 7.0.
This will ensure that the Header Charges under OverallTotals are returned correctly when getOrderDetails is called.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21996908