#farrukh_terminal-error
1 messages ¡ Page 1 of 1 (latest)
Hello! We'll be with you shortly. 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.
- hellofarrukh, 5 days ago, 13 messages
- farrukh-terminal-location, 6 days ago, 32 messages
đ Welcome to your new thread!
âąď¸ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime!
đ 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/1212080735373234246
đ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
â˛ď¸ 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. Thank you for your patience!
farrukh_terminal-error
@terse tapir Hello! Can you share a bit more details about the error?
- Exact code used that triggered this error
- Exact Terminal Reader model
right now the value that fails is psst_off******oken. The fact that it ends with a oken is surprising to me and looks like you're passing the wrong secret/value to the code
- PaymentTerminalService.ctrl.stripeTerminal!
.connectInternetReader(reader);
2.BBPOS WISEPOS_E
I have hardcoded the secret key in code so I am not sure why it is saying this
I'm going to need more details to help you at the moment sorry. Please try and provide more details. What does "I have hardcoded the secret key" mean exactly? You must have code that creates the ConnectionToken for example right? Are you logging its value?
Like a ConnectionToken should look like psst_test_xxxxxx but you have psst_off**** which is really strange
Yes i am logging all connection tokens that are generated, but none of them matches with the psst_off****
ah I think it's this line which has a hardcoded default value for offline mode. Are you using offline mode?
no we are not using offline mode
this link is not working
ugh my bad it's a private repo sorry, didn't realize from the URL itself
it seems we have a "default ConnectionToken secret" that is psst_offline_token which your code for some reason ends up using (but shouldn't) so now we need to narrow down exactly what's happening when you get that error
We need to see some real code, the exact part that raises this error and which integration guide you are following
do i need a new connection token for evey transaction?
no
Make sure to share the info I asked above, including how you discover readers. We need more details to help you
I am using this SDK for the discovery of readers
https://pub.dev/packages/mek_stripe_terminal
I'm sorry, try and provide a lot of actionable information. Not just one link and no details
Unfortunately we know nothing about that package, we don't maintain it and I had never seen it. Sadly you might have to pause and try to integrate with our official SDK(s) first to try to debug this further or ask the developers of that package for help