#developer-gpay

1 messages · Page 1 of 1 (latest)

wanton kiln
karmic sage
#

i have already added into my manifest file

wanton kiln
#

OK and are you using the Android SDK, Chrome, something else?

karmic sage
#

i have used stripe with google pay

wanton kiln
#

👍 and at what step in those docs are you seeing the error? Is it happening at a specific call in the example code?

karmic sage
#

whlile calling
googlePayLauncher.presentForPaymentIntent(it)

wanton kiln
#

OK, and what device is this occurring on?

karmic sage
#

Samsung s9 and one plus nord

wanton kiln
#

as well at what version of the Android SDK are you running?

karmic sage
#

i have checked only in 2 device

karmic sage
wanton kiln
#

Meaning the version of stripe-android-sdk

karmic sage
#

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'

karmic sage
wanton kiln
#

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.

karmic sage
karmic sage
wanton kiln
#

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.

GitHub

Describe the bug Device does not have Google Pay but initGooglePay success, and when i continue to call presentGooglePay function, it return presentForSetupIntent() may only be called when Google P...

karmic sage
#

i didn't update my stripe SDK version

#

is there any other SDK in which is conflicts this? is it possible?

visual marten
#

👋 hey there, just catching up (and chrome is updating ⏲️ )

karmic sage
#

yes

normal ore
karmic sage
#

so how i can install that application in my device from play store ?

#

i didn't see in my search list

normal ore
#

you might not be able to unfortunately.

karmic sage
#

oh sit

normal ore
#

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.

karmic sage
#

Can you please send me the doc of the stripe where its define the Indian google pay not supported stripe ?

normal ore
#

there's no direct doc yet but I work for Stripe and have looked at this type of thing a lot recently.

karmic sage
#

okay

#

is there any way to test this in my phone ?

visual marten
#

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.

karmic sage
#

okay

#

thanks

visual marten
#

you're welcome!