Google Pay [Android| Kotlin] - [OR_BIBED_11] error when using Square with Google Pay

So I’ve integrated the squareSDK, and in lower environments I can get the token from Google Pay (GP), but in production I get an error from GP with code [OR_BIBED_11], their documentation states that I need to fill out a form for google pay production approval which feel excessive, I’m assuming its because of screw up in defining the gateway on my end…

put(“parameters”, JSONObject(mapOf(
“gateway” to “example”,
“gatewayMerchantId” to “exampleGatewayMerchantId”)))

here…
so my question is… I see that square has a gateway option in the google pay tutorial. will repleacing “example” with “square” and “exampleGatewayMerchantId” with the merchant id from the payment profile in the google PLAY console fix my problem? or I’m I overthinking this process???

At this time if you’d like to take Google Pay with Square you’ll need to set it up according to our documentation. Creating a Google account to create your own Google pay tokens won’t currently work with Square. :slightly_smiling_face:

Bryan,

Can you be more specific? I’ve fallowed the steps down to a T, and I still don’t see a difference in what i’m doing vs your documentation. And like I said prior, it works fine in the development environments, so there just some small detail missing.

Did you use our documentation to add Google Pay or did you use Googles documentation? :slightly_smiling_face:

Yours, though I will mention that even your documentation says to reference the google documentation…

thats how I initalized the client per the sphere instructions. But other than what is specified I fallowed the Sphere tutorial. Hence why I asked the question about the ‘gateway’

Okay, but which tutorial did you implement? Was it the one from our documentation? :slightly_smiling_face:

Bryan,

Correct its the one from your Android documentation. That being said, im seeing that at the bottom we need to fill out the Google Pay API Production Access Enablement Request Form and set up the gateway.

Can you confirm its necessity?

Yes, that is a requirement. :slightly_smiling_face:

We are using the In-App Payments Flutter Plugin instead of Web Payments SDK, and encountered the same error when in production. We followed every step mentioned in Square documentation except for “Google Pay API Production Access Enablement Request Form” mentioned at the end of this page Enable Google Pay. However, the link for that form is no longer valid: Publish your integration  |  Google Pay API  |  Google for Developers. We’d like to ask what the specific steps should be. Our guess is that we have to upload our app to Google Play before we can get it approved by Google Pay team?