#凯文-GooglePay

1 messages · Page 1 of 1 (latest)

ashen nimbus
#

It depends on the Google Account on the android if it has a card setup properly

grizzled vine
#

Every google pay account have a card setup properly.

#

I try on the phone A 2 different google pay, and it works

#

I try on the phone B 2 different google pay (same as before) and it doesn't work

ashen nimbus
#

Is it Chome version 61+?

grizzled vine
#

it is on our APP, using Stripe as google pay gateway

ashen nimbus
#

I see. So it must the Google supportability of the devices

#

If your app worked on some device then there is definitely no issue with the integration

grizzled vine
#

it cannot be a stripe compatibility with some devices ?

#

because it create a payment_intent on Stripe dashboard

#

but after there is not a GooglePay window appear

ashen nimbus
#

If you have a device that you can reproduce, you can check if this function is invoked

private fun onGooglePayReady(isReady: Boolean) {
}
grizzled vine
#

okay I'm checking that right away

#

Yes and the value returned by isReady is false

ashen nimbus
#

Okie. So it means GooglePay is not available for that device. Which country are you testing from?

grizzled vine
#

France

#

we use it in france

ashen nimbus
#

I see. In example which device is not working?

grizzled vine
#

Samsung S10 and Vivo X60Pro

#

but both can use google pay on shop or other APP,

ashen nimbus
#

and they have Google Pay app?

grizzled vine
#

yes with credit car registered

ashen nimbus
#

Weird, one moment

grizzled vine
#

yes that's very weird, it's been one week we try to fix this

flat mauve
#

Hi @grizzled vine I'm also an engineer from Stripe.

grizzled vine
#

Hello Jack

ashen nimbus
#

qq, did it work before and stopped working recently?

flat mauve
#

When you say it's not working, do you see any error message?

grizzled vine
#

yes it says google pay is not available

grizzled vine
flat mauve
#

In what condition do you prompt the Google Pay not available dialog?

#

And are you testing from a country where Google Pay is supported?

grizzled vine
grizzled vine
flat mauve
#

I mean this dialog is coming from your application right. So in your application, what API do you call to determine if Google Pay is available?

grizzled vine
#

yes, this is the call back

flat mauve
#

Can you show me the code you wrote to config the GooglePayLauncher?

grizzled vine
#

According to the SDK documentation, initialize these two lines of code, and then pass it to the Stripe sdk to initialize the transaction configuration. After the Stripe sdk processes the result, it will call this onGooglePayReady to tell me whether the initialization is successful or not. If the initialization is unsuccessful, forcing a call to Google Pay will report an error. I can't capture the logs of Stripe sdk during this process, so I can't locate where the problem is

flat mauve
#

Did you add

grizzled vine
#

yes

flat mauve
#

That's very strange. Was Google Pay working in your app previously?

#

And can you send me one PaymentIntent ID so that I can take a look?

grizzled vine
#

payment_intent.created
View event detail
Event data
{
"id": "pi_3LXgnqCvCCWpIUkq1njEsFxW",
"object": "payment_intent",
"last_payment_error": null,
"livemode": true,
"next_action": null,
"status": "requires_payment_method",
"amount": 2500,
"amount_capturable": 0,
"amount_details": {
"tip": {
}
},

ashen nimbus
#

qq: Are Samsung S10 and Vivo X60Pro using France SIM card?

#

what if you replace their SIM cards with SIM card from a working device?

grizzled vine
grizzled vine
flat mauve
#

When you say you can use Google Pay with those devices, are you referring to the contactless payment with Google Pay? or online payment with Google Pay?

grizzled vine
#

everything, and also the payment on other APP

#

we never faced issue using google pay with those devices

ashen nimbus
#

When you initialize GooglePayLauncher, can you try passing existingPaymentMethodRequired = false?

grizzled vine
#

Like the electric scooter in Paris, the APP is Lime, I don't know if they use Stripe gateway but googlePay works perfectly

flat mauve
#

Let me confirm one more thing. Have you have logged in a Google account in the test device, and you have also added an active card to this Google Pay account?