react-native-google-pay icon indicating copy to clipboard operation
react-native-google-pay copied to clipboard

React Native: Google-pay Not Ready

Open Farhandroid opened this issue 6 years ago • 5 comments

I just followed your instruction and used code from your example . But it always said that Google Pay is not ready . I just put an alert to find the error . ''ready always return false' . I am using android 9.0 and react native 0.60.0. GooglePayIsNotReady

Farhandroid avatar Oct 31 '19 09:10 Farhandroid

You are sure that Google Pay is available on your device?

JollyGolf avatar Apr 14 '20 10:04 JollyGolf

Same problem @Farhandroid did you solved the problem?

karthikcodes6 avatar Jul 21 '20 21:07 karthikcodes6

Facing same issue. value of ready is always false. Tested on real device also with google pay installed.

chetanparmar95 avatar Aug 25 '20 07:08 chetanparmar95

Please, check your allowedCardNetworks and allowedCardAuthMethods. In my case, I used: const allowedCardNetworks = ['VISA', 'MASTERCARD']; const allowedCardAuthMethods = ['PAN_ONLY', 'CRYPTOGRAM_3DS']; and all works fine with this params. I tested on React Native 0.61.5 and react-native-google-pay ^2.1.0. Tested on Android Emulator (android 7+, include versions 9.0, 10.0), tested on real device (android 7+, include versions 9.0, 10.0). And I successfully released my app at Google Play, all works fine.

If you have some questions, I will be happy to help.

Zhigamovsky avatar Aug 25 '20 07:08 Zhigamovsky

I also have the same problem. I have Google Pay installed on my phone.

tuladharjaa avatar Oct 12 '20 11:10 tuladharjaa