-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tap to Pay on iPhone readCancelled error on reader connection #300
Comments
I am also getting a |
Maybe good to elaborate; the cancelation indeed happens shortly after calling |
We're having this issue too. Edited: We did think this affected some accounts and not others, but it seems it affects any account. |
Verbose logging from the test environment:
So it seems reader error 39 to cause this, but can't tell what that code would mean. In the module ABI file, and the generated Swift interface for |
Interesting... it's odd I also found when testing |
Just to update, after trying on another device we did encounter this error on an account that we thought the issue wasn't happening on. So, it's possibly not account-specific after all. |
did you find any solution for this issue |
Hi, We are having the same issue on a RN - iOS version [Stripe terminal]:didChangePaymentStatus notReady |
No we haven't found a solution I'm afraid. |
did you find solution for this ? |
Unfortunately no, this may be a problem with iOS 17 and/or stripe terminal. |
Apologies for the slow response on this one but thanks everyone for chiming in and providing a lot of useful context! We're looking into this issue but based on our logs, it appears to be an issue with iOS 17.4.1. If you're still encountering this issue, we recommend upgrading iOS version to see if that resolves the issue. In the meantime, we're working with Apple to get more clarity on this. |
Hey everyone, Apple confirmed that this is a known bug with iOS 17.4.1. It should be patched if you upgrade to iOS 17.5. Thanks again for all the details! |
Summary
Last week I asked about some issues we have with Tap to Pay on iPhone in the Discord channel, and there I was asked to open an issue on the repo.
We see some inexplicable connection errors.
The one that we only seem to be able to recover from by restarting the app isError Domain=com.stripe-terminal Code=2900 "Operation not permitted. Verify the app has the necessary entitlements and that the application bundle is valid."
.Obviously we have the entitlements, and is the application bundle valid, because this only happens incidental.
From Stripe: moved this issue to #302 to track separately
Another issue we see is unexpected cancellation; when we try to start a payment, we see the screen transitioning to the Tap to Pay UI, but then gets cancelled automatically. This can happen a couple of times after each other, which then often can be solved by moving the app to background for a moment. The error logged in this case is
Error (read): readCancelled
.Often after this happens, trying to reconnect again results in the
ReadError.readNotAllowed
being logged. To resolve this issue restarting the app works, or keeping the app in the background for a bit longer usually works as well.Code to reproduce
There aren't clear reproduction steps, but I've seen more issues when I move the app to background right after I invoke the start payment method.
iOS version
17.x
Installation method
Swift PM
SDK version
3.5.0
The text was updated successfully, but these errors were encountered: