#magnus - react native

1 messages ยท Page 1 of 1 (latest)

random nimbus
silk bough
#

Thanks @random nimbus for creating the thread, looking forward to your help!

random nimbus
#

Does it show up for payment mode, instead of setup?

silk bough
#

Yes, I'll send you a screenshot, wait a second

random nimbus
#

And does merchantCountryCode: DE match your stripe account country?

silk bough
#

I'm sorry it's in german but I hope it's fine anyways

random nimbus
#

Can you share the min/compile SDK version from android/app/build.gradle?

silk bough
#

buildToolsVersion = "30.0.2"
minSdkVersion = 23
compileSdkVersion = 31
targetSdkVersion = 31
supportLibVersion = "28.0.0"
playServicesVersion = "17.0.0" // or find latest version
androidMapsUtilsVersion = "1.3.1"
ndkVersion = "21.4.7075529"
kotlin_version = "1.5.10"

random nimbus
#

hmm ok thanks, thats above the minimums google specifies

#

Does google pay work in other contexts on that device?

silk bough
#

yes I tried it on Chrome with the Google Pay demo page and there it works

random nimbus
silk bough
#

Yes it is enabled, it also works in my website integration

random nimbus
#

OK thanks

silk bough
#

You're welcome

random nimbus
#

Are there any errors raised via logcat ? (you may need to use adb via a usb cable to get this if its a real device)

silk bough
#

I didn't check this tbh, I'll try it out now, please wait

#

Okay so it doesn't throw any errors or warnings when trying it with adb

random nimbus
#

ah dang, thanks for checking. I was hoping it would offer some info to go on.

silk bough
#

no unfortunately not

random nimbus
#

Trying to eliminate variables here, and narrow things down

silk bough
#

Thanks yes I'll try it out

#

What version of Gradle do I need? I have version 4.2.2 installed but in the demo app I see you use 6.7.1, does this maybe cause an issue?

random nimbus
#

Hmm it shouldnt cause any run time issues, no, maybe build issues though?

silk bough
random nimbus
#

Deprecated shouldnt cause any issues, you get it running?

#

I got mine working, turns out i needed to uninstall an old build from my simulator, and also needed to brew install gradle again ๐Ÿ˜ฉ

#

i've got gradle 7.3.3 and it works, you may need a new version thats possible

silk bough
random nimbus
#

but if its built now, dont worry about that

#

interesting ๐Ÿค”

#

can you run ./gradlew clean in the android directory?

#

example/android

#

specifically

#

not /android at the root (for the lib)

silk bough
#

fails with the same error

#

do I need to install something manually?

random nimbus
#

im trying again with gradle 6

silk bough
#

okay

random nimbus
#

really sorry about the delay on this -- I'm having trouble with my build environment, too

#

Would you mind emailing in to support@stripe.com and mentioning we spoke about react native in discord? (you can include my handle)
I'd like to continue working on this but I need to get things working here first

silk bough
#

Yes okay thanks a lot, I'll send a mail in a minute, thanks for your help!

random nimbus
#

No problem, appreciate your patience here. Will continue to dig and look forward to helping you sort this out ๐Ÿ™‚

silk bough
#

Thank you

#

I sent the mail

bitter oracle
#

Thanks, someone on our team will follow up once we know more but it might take some time!