#vishal-reactnative-googlepay

1 messages · Page 1 of 1 (latest)

smoky coyoteBOT
karmic pivot
#

Hi 👋 do you have the full error message that you're seeing available to share?

Is either your Stripe account based in India, or are you testing this flow from a device in India?
(There are regional limitations that may be getting in the way)

wise topaz
#

Nope I am in ireland.

#

and testing the integration in ireland

#

The error says GooglePay is not available on this device. You can use isGooglePaySupported to preemptively check for Google pay support.

#

The googlepay button is rendered based on condition if isgooglepaySupported is true then only show button. So the button is showing up but the initGooglePay() method is throwing this error

karmic pivot
#

What version of Expo and our SDK are you currently using?

wise topaz
#

expo SDK 47, stripe react native 0.19.0

karmic pivot
#

You mentioned that this was working as you expected before, can you clarify when you saw this change? Did it correlate with updating a dependency version or another change to your integration/stripe account?

wise topaz
#

when we moved to expo sdk 47 from 46

karmic pivot
wise topaz
#

And react native library 0.14.0 to 0.19.0(this came with expo 47 upgrade)

wise topaz
#

I confirm i am now not using the isPlatformPaySupported

#

I am using initGooglePay

#

and IsGooglePaySupported

karmic pivot
#

Do you have Google Wallet installed and set up on your test device, or the Google Pay app?