#thiagomacauba88_initterminal-error

1 messages ยท Page 1 of 1 (latest)

tribal latchBOT
golden umbraBOT
#

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.

tribal latchBOT
#

๐Ÿ‘‹ 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.

maiden leaf
#

Hi!

icy crane
#

Hi ๐Ÿ‘‹

Can you describe the terminal integration you are working with here?

maiden leaf
#

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:

icy crane
#

Sorry

#

What SDK are you using?

maiden leaf
#

implementation "com.stripe:stripeterminal:3.7.0"

#

and implementation "com.stripe:stripeterminal-localmobile:3.7.0"

icy crane
#

Sorry this is a bunch of text but not a clear response to my question. So let me start again.

  1. Where are you using Stripe Terminal? (Web, Mobile. etc.)
maiden leaf
#

sorry

#

Mobile, Android

icy crane
#

Okay so for the Android Stripe Terminal SDK, you went from version 2.21.1 -> 3.7.0?

#

And now it fails on initTerminal?

maiden leaf
#

yep

icy crane
#

I realize this is where you started with but we need to make sure we're on the same page.

maiden leaf
#

yes

#

I know that i need to change code for discoveryReader, connect...

#

but it seems like initTerminal still the same

#

but now, crashing

icy crane
maiden leaf
#

1 sec

#

a little bit different

#

but i replaced to this

#

and i still have the same crash

icy crane
#

What is the error you are receiving?

maiden leaf
#

the log that i sent you before

icy crane
#

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?

tribal latchBOT
maiden leaf
#

Well itโ€™s exactly what I did

#

Let me try again

icy crane
#

Just the actual line of text, not the stack trace

maiden leaf
#

Ok

tribal latchBOT
#

thiagomacauba88_initterminal-error

maiden leaf
#

sorry

#

i was out of connection

#

what part of logs do you need?

shadow nacelle
#

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?

maiden leaf
#

yes

#

i have

#

implementation "com.stripe:stripeterminal:3.7.0"

#

implementation "com.stripe:stripeterminal-localmobile:3.7.0"

shadow nacelle
#

Are you planning to accept Tap to Pay payments as part of your flow?

maiden leaf
#

yes

shadow nacelle
maiden leaf
#

the same

shadow nacelle
#

Is this specific to version 3.7.0, do you see the same in 3.7.1?

maiden leaf
#

yes

#

the same issue

shadow nacelle
#

Gotcha, I'm not sure offhand what's going on. Checking with my teammates.

maiden leaf
#

Ok

#

Thanks

tribal latchBOT
shadow nacelle
maiden leaf
#

Toby yes
But I donโ€™t have anything now
Iโ€™m just trying to initialize

shadow nacelle
#

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?

maiden leaf
#

Minsdk is 26

#

I already tried with device and simulator

#

Android 11 for both

#

I tried with 13 too

chilly sentinel
maiden leaf
#

Any ideas?