Skip to content
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 connection error 2900 "Operation not permitted." #302

Open
maggiewhite-stripe opened this issue May 6, 2024 · 4 comments

Comments

@maggiewhite-stripe
Copy link

Separating the 2 issues described in #300 into separate tickets.

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 is Error 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.

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

@ermankos
Copy link

We are also getting this error? Any update on this?

@maggiewhite-stripe
Copy link
Author

@ermankos Please double-check that you've set up your entitlements correctly first - documentation for that is here:
https://docs.stripe.com/terminal/payments/setup-reader/tap-to-pay?platform=ios#entitlements-build-file

If you've completed these steps and your entitlement has been approved and you are still getting this error, please share your Apple team ID from the Apple Developer Program portal. We've reported this issue to Apple and are waiting for a response.

@ermankos
Copy link

Hi @maggiewhite-stripe, yes it is set correctly, it works for our customers who have been using our app for months.

This error happens randomly for some of our merchants. This error usually happens after we try to reconnect to the terminal when 'terminal auto cancels a transaction' which is described here -> #300. Once they close the app and reopen, it works as expected.

Our team ID is J9DDVL59R9.

@maggiewhite-stripe
Copy link
Author

Thank you! I've shared your team ID with Apple and we will post any updates to this ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants