#thiagomacauba88_android-terminal-ttp
1 messages ยท Page 1 of 1 (latest)
๐ 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.
Hello there
Hey, how are you?
Can you give me more details? Where did you see this error exactly? What are you doing? What update did you perform?
Good thanks
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
yep
What version of the Stripe Terminal Android SDK are you using?
And where/when do you see this error? When you call collectPaymentMethod()?
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"
}
When you say initialization do you literally mean when you are initializing the SDK?
Terminal.initTerminal(
context,
LogLevel.VERBOSE,
TokenProvider(),
TerminalEventListener()
)
Have you looked at the logcat logs here?
logs
Ah
Looks like we addedd support for targetSdkVersion 35 in 4.0.0 of our SDK: https://github.com/stripe/stripe-terminal-android/blob/master/CHANGELOG.md#400---2024-10-31
Looks like you are still on 3.7.1
So you'll need to upgrade your Stripe Terminal Android SDK here
whats the lib that i need to change? 3.7.1 -> 4.0,0
1 sec
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:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
Ask Gemini
changing only com.stripe:stripeterminal-core to 4.0.0
You want:
dependencies {
implementation("com.stripe:stripeterminal-taptopay:4.7.1")
implementation("com.stripe:stripeterminal-core:4.7.1")
}
Per https://github.com/stripe/stripe-terminal-android?tab=readme-ov-file#tap-to-pay-on-android-ttpa
https://github.com/stripe/stripe-terminal-android/blob/master/CHANGELOG.md#๏ธ-breaking-changes-required lists the breaking changes
So yeah you would need to make the relevant updates
That's my assumption but can only verify that by actually testing.