#bimal-pandey_code

1 messages ¡ Page 1 of 1 (latest)

blazing whaleBOT
#

👋 Welcome to your new thread!

⏲️ 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.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1496108282874433636

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

meager inlet
#

hi there!

celest hinge
#

This is the log for this code. As you can see I have the full stripe terminal object in the connected reader variable and right after if I get the connected status I get not connected.

#

Hey soma, thanks for the reply.

meager inlet
#

what type of Terminal readers are you using? also how are you trying to connect to them (USD, bluetooth, wifi, etc.)?

celest hinge
#

Stripe M2 reader
via a usb connection

meager inlet
#

and what's the exact error message you get?

celest hinge
#

no error message, it doesn't report anything,
Just that it takes multiple app restarts to connect after being in this state.

inland kindle
#

Hey! Taking over for my colleague. Let me catch up.

celest hinge
#

Hey os4m37,
This has been an issue for our restaurants for quite some time.

The way I got to this state was:

When I insert the usb to the terminal, it opens a prompt saying
"Open {My app} when stripe terminal's id connects"
[Always]

When I clicked that always it started happening, but when I restarted the app 3 times it did connect properly.

inland kindle
#

Can you share what SDK are you using on your mobile APp and what is your reader version ?

#

Also can you confirm that you are setting autoReconnectOnUnexpectedDisconnect to true when you connect to your reader ?

celest hinge
#

version: 0.0.1-beta.29
Reader version: 2.01.00.38-SZZZ_Prod_US_v12-481001

Yes I can confirm that autoReconnectOnUnexpectedDisconnect is true.

inland kindle
celest hinge
#

Give me some time,
This chat won't close right? Or do I have to start over?

inland kindle
#

Yeah sure take your time, the thread usually can remain active up to 30min then it gets closed. But don't worry you can always open a new one, it will have a reference to this thread.