Google pay "Tax lines is invalid" error

Hello, we are having problem with payments via google pay. Our flow is:

  1. Create checkout mutation to receive checkoutID and subtotal value

  2. Create google pay payment to receive token and billing address

  3. Finalize transaction using checkoutCompleteWithTokenizedPaymentV3() function.

After 3. step we received message:“Tax lines is invalid” from shopify.

Example of our request to shopify:

  • checkoutCompleteWithTokenizedPaymentV3(checkoutId:“gid://shopify/Checkout/checkoutId”,
  • payment:{
    • paymentAmount:{
      • amount:“55.0”,
      • currencyCode:USD},
    • idempotencyKey:“0600E4C3-88C8-4DBD-9ED1-49396D4CEEBC”,
    • billingAddress:{
      • address1:“street”,
      • address2:“addres2”,
      • city:“city”,
      • country:“US”,
      • firstName:“Android”,
      • lastName:“Dev”,
      • zip:“90210”},
    • paymentData:“{"signature":"signatureFromGooglePayResponse”,
    • "protocolVersion":"ECv1",
    • "signedMessage":"{\"encryptedMessage\":“encryptedMessageFromGooglePayResponse”,
    • \"ephemeralPublicKey\":\"ephemeralPublicKeyFromGooglePayResponse",
    • \"tag\":\"tagFromGooglePayResponse"}"

}",type:GOOGLE_PAY}){checkout{id,ready},checkoutUserErrors{field,message},payment{id,ready,errorMessage}}}

Response:
{

  • “data”:{
    • “checkoutCompleteWithTokenizedPaymentV3”:{
      • “checkout”:{
        - “id”:“gid://shopify/Checkout/checkoutId”,
        - “ready”:false},
      • “checkoutUserErrors”:[
        1. {
        - “field”:[
        1. “taxLines”],
        - “message”:“Tax lines is invalid”}],
      • “payment”:null}}

}

We have no idea how to make this payment works correct. We’ve checked also deprecated functions checkoutCompleteWithTokenizedPayment and checkoutCompleteWithTokenizedPaymentV2 but the result was to same. Please help us resolve this problem.