You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rarely, maybe once a day or two days, I notice that when I call collectPaymentMethod it hangs indeterminately, I have tried up to 5min. If I then call cancelCollectPaymentMethod, collectPaymentMethod resolves with this response:
Sometimes the onDidRequestReaderInput fires with {"input": ["swipeCard", "insertCard", "tapCard"]} but putting card or phone to reader is not taking tap, and neither does insert card work.
If I try to call disconnect to disconnect the current reader, the disconnectReader call also hangs indefinitely.
Does anyone have any hints on what can be happening?
To Reproduce
I'm not sure how to reproduce, I just leave my app and terminal on forever and eventually this happens.
Expected behavior collectPaymentMethod should not hang. And if it does return USER_ERROR.CARD_READER_TIMED_OUT, future calls to collectPaymentMethod should work.
Screenshots
If applicable, add screenshots to help explain your problem.