stripe / terminal-js

Loading wrapper for the Terminal JS SDK
https://stripe.com/docs/terminal/sdk/js
MIT License
34 stars 14 forks source link

Reader's connection status #57

Open Cleemn opened 1 year ago

Cleemn commented 1 year ago

Summary

Version : @stripe/terminal-js@^0.10.1 Reader: WisePOS E (Version 2.8.4.0) Browser : Google chrome

I'm currently working on a stripe terminal integration (BBPOS WisePOS E // javascript - react - react native).

We have an application that will be used with several devices (web + tablet). For example, my web application is connected to a reader.

When I open my tablet application, I don't have the information that my reader is already connected to another device, and when I connect my reader with my tablet, I don't have any way to tell my web application that it's not connected to the reader anymore, so both devices appear as connected to the reader.

For now, the only way I have, to know if my reader is already connected with another device, is to start a payment.

I found that this issue has already been mentioned here https://github.com/stripe/terminal-js/issues/9#issuecomment-631903102, so I was wondering if there is another way I can have access to my reader's connection status?

Other information

araeubig commented 9 months ago

It would be great to get actual information on this issue. For me the same like Clementine wrote.