#thiagomacauba88_api
1 messages ยท Page 1 of 1 (latest)
๐ 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/1260966284665815040
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi!
Can you please share more info? I can't help with this little
yep ure
Your device serial number, which sdk you're using, etc would all be helpful
As well as logs
implementation "com.stripe:stripeterminal-localmobile:3.7.0"
implementation "com.stripe:stripeterminal:3.7.0"
I had a pretty old version, and It was recommend to upgrade to latest
What version were you on? Was that working fine? Was the only thing you changed the terminal sdk version and the errors started?
my version was 2.21.1
it's crashing in the beggining intialize the terminal
Terminal.initTerminal(
context,
LogLevel.VERBOSE,
TokenProvider(),
TerminalEventListener()
)
Oh
Yeah i mean that upgrade is a breaking change. Just upgrading and running won't work
You need to follow the migration guide
You call initterminal to initialize, but a lot of stuff changed
That's why you need to follow the upgrade guide
Just changing the version will not work
i can't see there how can i initialize the terminal
I suspect the init call itself isn't the problem here
it's everything else
If you need an example, you can use the one here: https://docs.stripe.com/terminal/quickstart
But you need to read that upgrade guide thoroughly to see all the things you need to change