#deeprajdev-Terminal-integration

1 messages · Page 1 of 1 (latest)

winter hawk
#

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)```
neon idol
#

Hi

winter hawk
#

Okay

#

So for first question

#

That event will return data based on the Reader

neon idol
#

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

winter hawk
#

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

neon idol
#

yes I am fine with question 1

#

so if the reader is not ready or disconnected, will stripe throw any message to Server code

winter hawk
#

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.

neon idol
#

thanks got it

#

really appreciate your help

winter hawk
#

Sure thing! Sorry for the slow response 🙂