#ash_best-practices
1 messages ¡ Page 1 of 1 (latest)
đ 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/1357443985995730985
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Not immediately sure but am looking into it, I do think our tokens are intended to be used one time but will confirm. Have you tried connecting multiple times with a token to see if we emit an error?
yes it does, it says "connection token already redeemed:
but i wanted to know if there is a way to not create a connection token again but just connect to already connected reader
pairing it remembers
but not connection
just wanted to confirm if there is a way. if you can provide some inputs, we can try that way
Gotcha, and is this to handle unexpected disconnects? Or something else around connection?
Also which of our terminal SDKs are you using? Is this Stripe.js or a mobile one?
we integrated our app with Stripe apis
this is a feature we would like to implement in our app, so that the user dont have to connect to the same device he/she already connected recently
I'm not clear on what you mean there. Are you saying you want to avoid creating a connection token when the app is opened up a second time?
no no sorry if i didnt ask my question correctly
And which Stripe API specifically are you using?
No worries, just making sure I understand your question
When u want to do a stripe transaction, u first get the connection token, then u discover the readers, connect to it and then do the payment right?
after you call one connection token, do you use the same connection token to do multiple transactions, i mean u just store the connection token for previously connected device and then use the same device to connect automatically and do a payment..
No, you will always need a new connection token there. They are intended to be single use and have a new one created each time you connect
okay
i am gng to circle back on this tomorrow
can we keep this thread open?
We close threads out after ~15 mins, but there will be a link to this thread to reference back to it tomorrow when you open a new thread