#santhosh-kumar-r_api

1 messages ¡ Page 1 of 1 (latest)

dim masonBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1428737890451587132

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

hushed mason
#

My stripe sdk logs

#

I called the paymentmethod colleciton.

#

but it is cancelled with "user cancelled" message but user does not cancel actually

#

and tries to connect again

#

and it is conected

#

My query is why it is logged as "user cancelled transaction" ( red alert in the image) when the reader is trying to connect

errant vault
#

hello

#

What you describe doesnt really make sense, those are separate steps

#

you wouldnt be able to call collect payment method before connecting to a reader

hushed mason
#

yes. let me clarify .

what happens is that it is automatically reconnect when we try to call the payment method colleciton in our app

#

we have setup with autoReconnect: true

#

Further payment calls are worked correctly.
i need to understand why it is logged as "user cancelled transaction" when it is cancelling the payment method

errant vault
#

I'm not sure, do you have the actual logs from the reader? Whats the SN of the reader here?

hushed mason
hushed mason
errant vault
#

Sorry i mean terminal SDK logs from the app host POS device

hushed mason
#

what logs do you need ?

hushed mason
hushed mason
errant vault
#

If you have an example payment I can check, sure

errant vault
errant vault
hushed mason
hushed mason
errant vault
#

But in the case of unexpected disconnected, I suspect this is normal/expected that the transaction is also cancelled/aborted as a result of that

#

And you can use the reconnect event to indicate to your customer that the reader had an issue and is reconnecting

dim masonBOT
errant vault
hushed mason
#

if i provide reader serial number, will it help ?

errant vault
#

We can look at logs received our side and see if anything stands out

hushed mason
#

WPC323225003608

hushed mason