Didn't get total amout with including tax in delivery customization

Hi,
We’re reaching out to address a critical issue regarding the order total amount in delivery customization. (Delivery customization is an extension)

As per the documentation provided by Shopify, we understand that the total amount parameter should include both the subtotal and tax amount. However, we have noticed that we are only receiving the subtotal amount, without the inclusion of tax.

For more information please refer this video: https://screenpal.com/watch/c0QtXwV5iLB

Doc link: https://shopify.dev/docs/api/functions/reference/delivery-customization/graphql/common-objects/cartcost

Please update us, how we can get total amount with including tax?
Thanks.

Hi Tejash_patel_iw,

That does sound unusual - just to test, are you able to recieve values for totalTaxAmount? As a temporary measure you may be able to do calculations to display the full total?

Hope this helps,

Hi Liam,

No, we are not able to get ‘totalTaxAmount’ as well, we get a NULL response in this parameter.
https://prnt.sc/yi22NAFLDavK

Please let me know, how we can fulfill our requirements.

Thanks.

hope you were able to figure it out but the reason why it is showing null is because of the structure of your query

totalTaxAmount has fields of amount and currencyCode so to query it would be

totalTaxAmount{
   amount,
   currencyCode
}

Hi

We already passed the same query as you suggested, but it still gives an empty object even if the tax amount is on the checkout page.
Could you please suggest another way?

Thanks.

I think it would be more helpful if you show me how you’re querying the information.

Hi

We have passed this way, https://prnt.sc/K66uN7vqLyKz
Kind regards,

Try changing the e to “a” for the tax. totalTexAmount to totalTaxAmount