Apple Pay / Google Pay Tax Amount

Hi, I have a question about Apple Pay and Google Pay.

Is it important to provide the tax amount in the Apple / Google pay object?
Or we can just display the total amount to pay (tax included)

const paymentObj = {
      requestBillingInfo: true,
      currencyCode: 'USD',
      countryCode: 'US',
      total: {
        label: 'Merchant name',
        amount: '5.00',
        pending: false
      },
      lineItems: [
        {
          label: 'Subtotal',
          amount: '4.00',
          pending: false
        },
        {
          label: 'Tax',
          amount: '1.00',
          pending: false
        }
      ]
    };

VS

const paymentObj = {
      requestBillingInfo: true,
      currencyCode: 'USD',
      countryCode: 'US',
      total: {
        label: 'Merchant name',
        amount: '5.00',
        pending: false
      },
      lineItems: [
        {
          label: 'Subtotal',
          amount: '5.00',
          pending: false
        }
      ]
    };

I mean we will put the correct tax amount in the pay request body to Square, but without tax amount in the token generation from Apple / Google pay button.
Will it cause a problem?

I would advise being precise as possible, but truth be told I do not think it will cause a problem if you omitted the tax label.

1 Like

OK, it’s good to know if it won’t create problem.
Thanks!