#farrukh_terminal-error

1 messages ¡ Page 1 of 1 (latest)

silver torrentBOT
lofty wolfBOT
#

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.

silver torrentBOT
#

👋 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!

lofty wolfBOT
sleek portal
#

farrukh_terminal-error

#

@terse tapir Hello! Can you share a bit more details about the error?

  1. Exact code used that triggered this error
  2. 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

terse tapir
#
  1. 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

sleek portal
#

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

terse tapir
#

Yes i am logging all connection tokens that are generated, but none of them matches with the psst_off****

sleek portal
#

ah I think it's this line which has a hardcoded default value for offline mode. Are you using offline mode?

terse tapir
#

no we are not using offline mode

sleek portal
#

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

terse tapir
#

do i need a new connection token for evey transaction?

sleek portal
#

no

#

Make sure to share the info I asked above, including how you discover readers. We need more details to help you

terse tapir
sleek portal
#

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