#mauricio_error

1 messages ¡ Page 1 of 1 (latest)

grave sandalBOT
#

👋 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.

charred dockBOT
#

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.

noble vault
#

Can you share more details about your code please ? and a complete Stacktrace of the error

charred dockBOT
slow rivet
#

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."

kindred spindle
slow rivet
#

Sorry, the API error comes later

slow rivet
#

we can get payments, this error shows up from time to time

kindred spindle
#

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
slow rivet
#

ok thanks, I'll do that

slow rivet
#

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?

kindred spindle
#

I believe it's just a transient error

slow rivet
#

Ok