#krut4rth
1 messages · Page 1 of 1 (latest)
Which model of reader are you using?
The project is in development phase, I dont know the reader model, We can buy the reader which supports this functionality
Currently, only WisePOS E supports connection via server-driven integration.
Other models such as M2 or WisePad 3 only support connection from mobile device via bluetooth and USB.
For WisePOS E, your can set the terminal reader to perform payment in your request, i.e. your system should config internally which reader to connect to and set in the request: https://stripe.com/docs/terminal/payments/connect-reader?terminal-sdk-platform=js&reader-type=internet#connect-reader
I looked into the documentation, basically it shows that terminal can be connect to a device from the server right? No hassle of selecting reader from the dropdown. Please let me know if i right/wrong?
It depends on your Stripe account country.
If your account country is in US or CA, server-driven integration can be used and the reader can be set in the process payment intent request from server: https://stripe.com/docs/terminal/payments/collect-payment?terminal-sdk-platform=server-driven#process-payment
For non-US and non-CA countries, only client JavaScript SDK can be used and the reader has to connected at client before processing the payment: https://stripe.com/docs/terminal/payments/connect-reader?terminal-sdk-platform=js&reader-type=internet#connect-reader
We should take a step back, My main query is not addressed here.
I'm already using the await stripe.terminal.readers.processPaymentIntent
I have a select dropdown whose options are coming from in the page stripe.terminal.readers.list()
User selects the terminal from the dropdown, adds amount and on clicking the process payment button a payment intent is created and this api is called await stripe.terminal.readers.processPaymentIntent readerId of terminal sent to api is basically the one selected from the dropdown.
Now what I want is to modify the response of stripe.terminal.readers.list() depending upon the laptop and make user select from the filtered terminal list.
For the context, the country of operation is USA
Hi @brisk quail I'm taking over this thread
Can you elaborate more on "modify the response of stripe.terminal.readers.list()" ?
For example I have 10 laptops & 10 terminals, all 10 will hit stripe.terminal.readers.list() but each laptop should see only one terminal in the dropdown, I want to check if some filtering can be done based on the laptop, there is some optional location parameter, can that help?
Or any other thing too, which can help.
So basically you want to assign one reader to one laptop, is this the correct understanding?
yes
Ok, yes you can create 10 locations and assign one reader to each of the reader. Or you can save the reader ID to your own application and associate it to the desired desktop.
Last thing, where can i create location? How does using location works?