#deeprajdev-Terminal-integration
1 messages · Page 1 of 1 (latest)
Hi there!
Let's use this thread
Going to move your questions into the thread
1. In the webhook event, terminal.reader.action_succeeded, I want meta data to return```
Also, please note the integration process I am using is Server driven (Node Js)```
Hi
Okay
So for first question
That event will return data based on the Reader
So you can set metadata on the Reader itself if you want to see it in the event: https://stripe.com/docs/api/terminal/readers/create#create_terminal_reader-metadata
My integration is for multi clients and I am using few parameters to identifying which client it is and proceed to the corresponding database
so if I set that in terminal, it will be static, right
leave it. I think my question doesn't make any sense
can i set that using the databoard
I mean, can I set metadata using stripe dashboard
Can you answer my second query
I think I got the first question clarified
you with me
Sorry server is busy
Helping several folks at once
Okay so you are good on the initial question about metadata?
For the second one you would show a "not connected" messaging in your own UI until you get a succesful response from connectReader
yes I am fine with question 1
so if the reader is not ready or disconnected, will stripe throw any message to Server code
Hey @neon idol, really sorry for the delay
So you won't see any message until you have connected
However, upon disconnect you would implement the UnexpectedReaderDisconnect to handle the disconnect occurring.
So basically you first discover readers and then attempt connection
If that is successful then there will be a notice via the above if the Reader disconnects
Until you connect successfully the first time you should show a message in your UI that the reader is not connected.
Sure thing! Sorry for the slow response 🙂