Open Noitidart opened 6 months ago
I added a test, where instead of server side, I createPaymentIntent on client, and this also hangs.
hey @Noitidart are you still running into this issue on the latest SDK?
Thanks Nazli, I haven't upgraded yet, I'm not yet sure if it is due to the Stripe library. I'm on version beta.14 do you think I should try updating? Was there changes that could affect this?
@lemaire31 do you think this problem is fixed in v0.0.1-beta.19?
@Noitidart in general we recommend testing things with the latest SDK version to pick up the latest native SDK upgrades. If you are still running into this issue and if you can provide device serial numbers I can check our logs.
Is this issue happening on a specific device, or across all devices?
Thanks @nazli-stripe - it's happening across all devices. All MPOS and also BBPOS. I will do a native upgrade and test and let you know please. Will need some time please, maybe 2 months.
@lemaire31 do you think this problem is fixed in v0.0.1-beta.19?
I am no longer experiencing this
Thanks @lemaire31 - were you experiencing this in beta14? Did you stop experiencing this after upgrading to a certain version?
Describe the bug I'm on Android using M2 reader.
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 callcancelCollectPaymentMethod
,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, thedisconnectReader
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 returnUSER_ERROR.CARD_READER_TIMED_OUT
, future calls tocollectPaymentMethod
should work.Screenshots If applicable, add screenshots to help explain your problem.
Stripe Terminal React Native SDK version
Smartphone (please complete the following information):
Additional context I'm using M2 readers.
I have spent 4 days on this, I'm sorry I don't have additional context. It's very odd. I have tried extensive logging but can't find any hints.