Apple Pay web sdk with auth + deferred capture with different amount

@Bryan-Square how do we configure a Google Pay in Square developer account? And could you please let us know where can I find the “gatewayMerchantId”?

  "gateway": "square"
  "gatewayMerchantId": "YOUR_GATEWAY_MERCHANT_ID"

Can you please reply ASAP?

@Bryan-Square Can you please reply for above question ASAP?

Are you in Google Pays documentation? With the Web Payments SDK theres no registration required. You’ll need to follow our guide on Google Pay to add it as a payment method to the Web Payments SDK. :slightly_smiling_face:

@Bryan-Square
I would like to not to show the $1.00 for the user when authorizing with GOOGLE PAY. How can I change the amount as “AMOUNT PENDING” or hide the amount when user is requested for verification token using above?

We tried passing this flag totalPriceStatus as NOT_CURRENTLY_KNOWN in order to display amount as estimated or pending amount. But it didn’t work!

totalPriceStatus: 'NOT_CURRENTLY_KNOWN',
        total: {
          amount: "1.00",
          label: "Total",
          pending: true,
        }

Please reply ASAP. We just want to hide the amount when user is Authorizing. We have this thing going into Production.

Also how can we change this Label “Pay Square Inc” in SANDBOX?

At this time the ability to hide the amount shown isn’t currently available. We’re constantly working to improve our features based on feedback like this, so I’ll be sure to share your request to the API product team. :slightly_smiling_face:

@Bryan-Square
how can we change this Label “Pay Square Inc” on the Google Pay action Sheet? Also please let us know what customization can we pass to this sheet?

is it possible to change button title?

At this time the ability to customize what’s shown in the Google Pay screen isn’t currently available. It’s controlled entirely by Google. :slightly_smiling_face:

How can I change this label from “Pay Square Inc” to “Pay mycompanyname”

At this time the ability to change the name isn’t currently possible. We’re constantly working to improve our features based on feedback like this, so I’ll be sure to share your request to the API product team. :slightly_smiling_face:

@Bryan-Square As your Web Payments SDK doesn’t support any customization in Google Pay Action Sheet. We would like to go with GOOGLE pay documentation for the integration of GOOGLE PAY using square payment gateway. Please let us know if we can integrate Google Pay using the official Google documentation or not. And please let us know where can I find the below gatewayMerchantId

 "gateway": "square"
  "gatewayMerchantId": "YOUR_GATEWAY_MERCHANT_ID"

At this time the only way to use Google Pay with Square is to use our provided documentation. Using Square to take Google Pay payments from their documentation isn’t supported. I’ve shared your feedback with the team and we hope to have more for you in the future. :slightly_smiling_face:

Can you send me your square documentation link for google pay?

Yes, here is our our guide on Google Pay on how to add it as a payment method to the Web Payments SDK. There isn’t any additional documentation on Google Pay. :slightly_smiling_face:

Hi @Bryan-Square


I came to know that your web payments SDK is allowing change the “Pay Square Inc.” label to “Pay your company name”. Could you please let us know where can I change the name?

Yes, this change has recently rolled out. The name is coming from the name of the Square location thats configured to take the payment. :slightly_smiling_face:

Hmm. Great change Bryan - but Square Inc isn’t the name of our location. Can you send a screenshot on where this should be changed?

Its the business_name for the location that will be picked up as the name in Google Pay. :slightly_smiling_face:

Hi @Bryan-Square
We have verified our “business_name” using the “v2/locations” api. But it is showing a incorrect business_name in Google Pay Pop up. Please let us know what could be wrong here?

What’s your application ID? Also where is the page hosted that’s not showing correctly? :slightly_smiling_face:

application ID: “sq0idp-vCqdrki1S5k3x1as9pfh-g”

We are using your web payments sdk and it is launching the google pay screen shown below with incorrect business_name