#thiagomacauba88_initterminal-error
1 messages ยท Page 1 of 1 (latest)
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- thiagomacauba88_api, 2 hours ago, 35 messages
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1261015709526528053
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi!
Hi ๐
Can you describe the terminal integration you are working with here?
Hi @icy crane
sure
1 sec
I had a pretty old version for StripeTerminal -> 2.21.1, so i'm migrating to latest 3.7.0
I'm getting a crash from the beggining
Terminal.initTerminal(
context,
LogLevel.VERBOSE,
TokenProvider(),
TerminalEventListener()
)
that's my logs:
implementation "com.stripe:stripeterminal:3.7.0"
and implementation "com.stripe:stripeterminal-localmobile:3.7.0"
Sorry this is a bunch of text but not a clear response to my question. So let me start again.
- Where are you using Stripe Terminal? (Web, Mobile. etc.)
Okay so for the Android Stripe Terminal SDK, you went from version 2.21.1 -> 3.7.0?
And now it fails on initTerminal?
yep
I realize this is where you started with but we need to make sure we're on the same page.
yes
I know that i need to change code for discoveryReader, connect...
but it seems like initTerminal still the same
but now, crashing
And your code looks like what we show here? https://docs.stripe.com/terminal/payments/setup-integration?terminal-sdk-platform=android#initialize
1 sec
a little bit different
but i replaced to this
and i still have the same crash
What is the error you are receiving?
the log that i sent you before
Sorry that is too unformatted for me to even be able to read. I can see just a few characters per line. Can you please just copy/paste the exception text?
Just the actual line of text, not the stack trace
Ok
thiagomacauba88_initterminal-error
Hi there ๐ jumping in as my teammate needed to step away. Catching up.
Hm, that stack trace is giving me the impression an underlying dependency is missing. Just double checking, you're using gradle to pull in our package?
yes
i have
implementation "com.stripe:stripeterminal:3.7.0"
implementation "com.stripe:stripeterminal-localmobile:3.7.0"
Are you planning to accept Tap to Pay payments as part of your flow?
yes
Gotcha, can you adjust your dependencies so they match what is shown here then?
https://github.com/stripe/stripe-terminal-android/tree/master?tab=readme-ov-file#tap-to-pay-on-android-ttpa
Looks like the -core is the only part I'm not seeing.
the same
Is this specific to version 3.7.0, do you see the same in 3.7.1?
Gotcha, I'm not sure offhand what's going on. Checking with my teammates.
Did you also go through the steps discussed here as part of your process for upgrading to vesrion 3.X.X?
https://docs.stripe.com/terminal/references/sdk-migration-guide?terminal-sdk-platform=android
Toby yes
But I donโt have anything now
Iโm just trying to initialize
What's your minimum Android version set to? Are you running this code on a device or a simulator, can you share any additional details about versions that it's using?
Minsdk is 26
I already tried with device and simulator
Android 11 for both
I tried with 13 too
๐ I see you're offline. I'll close this thread but if you still need help, feel free to return to #help or reach out to our Support team so we can investigate over email: https://support.stripe.com/contact/
If you reach out to our support team, please include a link to this Discord thread: https://discord.com/channels/841573134531821608/1261015709526528053
Any ideas?