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?
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
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...By Ollie Jul 28, 2022