COD Order Handling

manish_abcd
Visitor
1 0 0

Greetings Team,

 

Need your help to clear a doubt regarding COD orders. We check the field called total_outstanding to determine if there is any amount to be collected. That tells us if to treat the order as prepaid or COD. However in few cases, we are seeing some discrepancy. We are finding orders for which the total_outstanding is 0 but financial_status field is still indicating that its a COD order. In that, how are we to conclude whether it is a COD order and then how much amount is to be collected?

Reply 1 (1)

mandar_zope
Shopify Partner
3 0 2

It is correct that the total_outstanding field from Order API should contain remaining amount to be collected for the order(Either for COD or in case of partial payment). When there is a discrepancy in order financial status and total_outstanding, the store must be using some plugin or a private app which is causing this. Refer - Solved: Re: Can I get the order balance with API? - Shopify Community