#developer-gpay
1 messages · Page 1 of 1 (latest)
👋 Have you made sure that Google Pay is enabled in your manifest file? A quick Google found https://www.reddit.com/r/programminghelp/comments/ottn0m/stripe_google_pay_error/ which is the same error
i have already added into my manifest file
OK and are you using the Android SDK, Chrome, something else?
👍 and at what step in those docs are you seeing the error? Is it happening at a specific call in the example code?
whlile calling
googlePayLauncher.presentForPaymentIntent(it)
OK, and what device is this occurring on?
Samsung s9 and one plus nord
as well at what version of the Android SDK are you running?
i have checked only in 2 device
in project or my device ?
Meaning the version of stripe-android-sdk
in my project compileSdkVersion is 30 and min SDK version is : 24
in my mobile device api level 29 and OS 10
implementation 'com.stripe:stripe-android:17.1.2'
implementation 'com.stripe:stripe-android:17.1.2'
That version is probably fine although there is a newer version that is worth upgrading to just to make sure (https://github.com/stripe/stripe-android/releases/tag/v17.2.0)
Beyond that, the SDK is just looking at your device/app to verify if GPay is available and throws that error if it isn't. Digging a bit to see if there are any known issues around this.
This release includes several bug fixes, introduces PaymentLauncher as a replacement of https://github.com/stripe/stripe-android/blob/master/payments-core/src/main/java/com/stripe/android/Stripe.kt...
also I'm assuming you've run through https://developers.google.com/pay/api/android/guides/setup
i have already run through this
i will check with latest version
There was a related issue in the React Native repo but I don't think it affected the actual SDK (https://github.com/stripe/stripe-react-native/issues/533) but best to update to the latest version just in case it was reflected there as well. I don't see a PR for it though.
i didn't update my stripe SDK version
is there any other SDK in which is conflicts this? is it possible?
👋 hey there, just catching up (and chrome is updating ⏲️ )
@karmic sage as a quick check, do you get the functional google pay button appearing in the top section of this docs page?
https://stripe.com/docs/stripe-js/elements/payment-request-button
yes
i have integrated this
https://stripe.com/docs/google-pay
are you based in India? You might not have the right version of Google Pay on your phone ( Stripe only supports the worldwide version https://play.google.com/store/apps/details?id=com.google.android.apps.walletnfcrel , not the version for the Indian market (https://play.google.com/store/apps/details?id=com.google.android.apps.nbu.paisa.user ))
yes i am an indian
so how i can install that application in my device from play store ?
i didn't see in my search list
you might not be able to unfortunately.
oh sit
unfortunately testing Google Pay requires running your app on a physical Android device with the right version of Google Pay, with live credit cards added. If you don't have access to such a set up it's not directly possible to test unfortuantely.
Can you please send me the doc of the stripe where its define the Indian google pay not supported stripe ?
there's no direct doc yet but I work for Stripe and have looked at this type of thing a lot recently.
In order to test you'd need to be able to use the global version of the google pay app, so if you can't get that they it may not be possible to do yourself.
you're welcome!