I try to implement a Shopify Stripe checkout via StoreFront API. The steps performed for this are:
- Creating checkout via this endpoint
- Getting Stripe token from Stripe API
- Completing checkout via this endpoint
The problem is that tax information is not encountered in the resulting order.
I can not pass total amount(including tax amount) in the 3rd step as I get TOTAL_PRICE_MISMATCH error from Shopify. So I have to pass sub total amount. And this causes tax information not to be included in the resulting order.
Can anyone help me to solve this problem?