#mauricio_error
1 messages ¡ Page 1 of 1 (latest)
đ 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/1240965904398024755
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- mauricio_error, 18 hours ago, 4 messages
Can you share more details about your code please ? and a complete Stacktrace of the error
Hi
We receive this error when calling Terminal.shared.discoverReaders() using Tap to Pay on iPhone (LocalMobileDiscoveryConfigurationBuilder)
Error code: 2900,
Error message: "Operation not permitted. Verify the app has the necessary entitlements and that the application bundle is valid.
let config = try LocalMobileDiscoveryConfigurationBuilder().setSimulated(false).build()
Terminal.shared.delegate = self
readersDiscoveryCancelable = Terminal.shared.discoverReaders(config, delegate: self) { error in
if let error {
handleError(error)
}
// Non-error cases are handled via delegate
}
I can also see in our log system, before that errors shows, the following error:
stripe-connect API
"Operation not permitted. Verify the app has the necessary entitlements and that the application bundle is valid."
https://docs.stripe.com/terminal/payments/setup-reader/tap-to-pay?platform=ios#entitlements-build-file would be the docs for the entitlement needed
Sorry, the API error comes later
Hmmm but if that was the case, it would never work, right?
we can get payments, this error shows up from time to time
yep! if it's intermittent than I don't know. Maybe just catch the erorr and retry the discoverReader call? Maybe open a support ticket at https://support.stripe.com/?contact=true with as many details as you can get such as
- exact UTC timestamps when this happens
- exact devices and iOS versions where this happens
- exact version of stripe-terminal-ios you're using
ok thanks, I'll do that
One more question
Another error our users experience the most is this one:
Erro code: 3910
Error message: "Unable to prepare the built-in card reader to accept payments. Reconnect the app to the reader.
When calling Terminal.shared.connectLocalMobileReader.
Do you have more information about why this can happen?
I believe it's just a transient error
Ok