#thiagomacauba88_android-terminal-ttp

1 messages ยท Page 1 of 1 (latest)

quick edgeBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1415745840395587594

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

old anchor
#

Hello there

buoyant oxide
#

Hey, how are you?

old anchor
#

Can you give me more details? Where did you see this error exactly? What are you doing? What update did you perform?

#

Good thanks

buoyant oxide
#

I had the TapToPay implementation working pretty well, and after changing the targetSdkVersion from 34 to 35 I got this issue when I'm trying to initialize TTP, as Google requires 35 now, i can't do a downgrade

old anchor
#

Hmm which SDK is this?

#

Oh you are bumping your Android SDK to 35

buoyant oxide
#

yep

old anchor
#

What version of the Stripe Terminal Android SDK are you using?

#

And where/when do you see this error? When you call collectPaymentMethod()?

buoyant oxide
#

from initialization

#

implementation 'com.stripe:stripe-android:20.48.2', implementation "com.stripe:stripeterminal-core:3.7.1", implementation("com.stripe:stripeterminal-localmobile:3.7.1") {
exclude group: "com.google.android.gms", module: "play-services-safetynet"
}

old anchor
#

When you say initialization do you literally mean when you are initializing the SDK?

buoyant oxide
#

Terminal.initTerminal(
context,
LogLevel.VERBOSE,
TokenProvider(),
TerminalEventListener()
)

old anchor
#

Have you looked at the logcat logs here?

buoyant oxide
old anchor
#

Ah

#

Looks like you are still on 3.7.1

#

So you'll need to upgrade your Stripe Terminal Android SDK here

quick edgeBOT
buoyant oxide
#

whats the lib that i need to change? 3.7.1 -> 4.0,0

old anchor
#

com.stripe:stripeterminal

buoyant oxide
#

1 sec

buoyant oxide
#

Task :app:dataBindingMergeDependencyArtifactsRelease FAILED
Execution failed for task ':app:dataBindingMergeDependencyArtifactsRelease'.
Could not resolve all files for configuration ':app:releaseCompileClasspath'.
Could not find com.stripe:stripeterminal-localmobile:4.0.0.
Required by:
project :app

Possible solution:

Ask Gemini

#

changing only com.stripe:stripeterminal-core to 4.0.0

old anchor
buoyant oxide
#

it seems like i need to change everything related to readers :/

old anchor
#

So yeah you would need to make the relevant updates

buoyant oxide
#

right

#

and then we dont have the issue related to TTP anymore?

old anchor
#

That's my assumption but can only verify that by actually testing.

quick edgeBOT