#Santosh Kumar
1 messages · Page 1 of 1 (latest)
Which Doc are you following and which device?
this one is the reference
physical device is m2
but I am also trying to connect with simulated reader that I a registered on dashboard
Okie, then on which specific step you are struggling with?
I fetch the reader list
and trying to setup a connection with selected reader at that time i'm getting error
In which step, and what error do you have?
code
:
"reader_error"
message
:
"Could not communicate with the Reader. Please make sure your reader is online and on the same network as your device. See https://support.stripe.com/question
Which flow are you in? Server driven? or JS?
both
getting reader list from server side
and trying to setup a connection by frontend js side
So this "Javascript", not Server Driven?
I think nop
Okie, then is that terminal.discoverReaders which returns the error?
discoverReaders method working fine
how the physical reader works ?
?
can you please share the steps
No I am just checking step by step
So discoverReaders works but connectReader doesn't?
For simulated reader
I am not using discoverReaders method
I am getting reader information from by server side
That sounds like the "Server-driven" flow indeed
If that's the case, did you create and were able to Retrieve your simulated reader as this step? https://stripe.com/docs/terminal/payments/connect-reader
No you connect to the reader via the API, as opposed to connecting directly to it
so is it fine or what ?
Is what 'fine'?
means if i connect to the reader via api
after that direactly use that readerId for paymentIntent and payment process ?
You don't connect to the reader no. That step is redundant in the server-driven flow. Instead you pass the tmr_xxx of the Reader you're using to the Terminal functions
ok