sorokin0andrey/react-native-google-pay

React Native: Google-pay Not Ready

Farhandroid opened this issue · 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

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

Same problem @Farhandroid did you solved the problem?

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

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.

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