I've been working with the storefront API for a few days, and I can't seem to get the taxes to return anything but 0? My I've tried pulling both totalTax and totalTaxV2 in my graphql statements. both return 0. I've also tried flipping the settings in my shopify account for prices to include and exclude taxes. Stil 0 when calling via Storefront API. As soon as you go to the hosted checkout though, the taxes are showing fine.
Anyone else had issues with this? Is this an error in the storefront API?
I'm seeing the same issue with the Storefront API. A simple reproduction is to use the react-apollo example in the storefront-epi-examples on github. It requests "totalTax" (but I believe this is deprecated for "totalTaxV2" now). https://github.com/Shopify/storefront-api-examples/blob/master/react-apollo/src/checkout.js
Both "totalTax" and "totalTaxV2" always return "0.00" for the API, but when you click the Checkout button in the example, it launches a new window with the tax shown. This seems like a bug, or at the very least, there should be an updated example how to actually get this tax.