#andrew_rundoo-terminal-connections

1 messages · Page 1 of 1 (latest)

frigid lily
#

That's a good question. Let me dig a bit and get back to you in a few minutes

tough nexus
#

Thank you!

frigid lily
#

When you say "connect" I assume you want the computer closest to the POS reader to be able to display charge data. Is that correct?

tough nexus
#

Yeah basically I just want to make sure that given 3 computers each with a reader right next to them that the computer a clerk is working on interacts with the closest reader

#

Or put differently, it'd be a really bad UX if the clerk at one of the computers ends up triggering a payment flow or showing items on a reader that is on the other end of the counter as opposed to the one right next to it

#

We associate readers with locations in Stripe, so I imagine the discover method will return just the readers for a given location but I need to be able to have the web application control the correct reader within that location

tulip kernel
#

Hello, looking in to this. So are you already doing this but having trouble differentiating between the readers that come back in the list from your discoverReaders call?

tough nexus
#

We are in the middle of trying to build the integration into our web app and having the realization that discoverReaders may very well just return all readers for that location and we have no idea which is the one that is closest or should map to this computer

tulip kernel
#

The discoverReaders call will return all the readers from the location but you should still be able to filter for the one you want based on the serial_number or label etc and then call connectReader on the ID of the reader you like

tough nexus
#

gotcha

tulip kernel
#

Would it be feasible to have some kind of config on your webapp that tells machine A to connect to reader X in the list and for machine B to connect to reader Y?

tough nexus
#

yeah it sounds like we'll need to have some flow for the clerk initially selecting which reader to use and then cache something in local storage (prob the serial number) to auto reconnect from then on

tulip kernel
tough nexus
#

okay thanks for the clarity

tulip kernel
#

Of course, any further questions on that at the moment?

tough nexus
#

nope this gives me plenty to run with

#

hope you have a nice day!