stripe / stripe-terminal-ios

Stripe Terminal iOS SDK
https://stripe.com/docs/terminal/sdk/ios
Other
100 stars 61 forks source link

Tap to pay: Unable to prepare the built-in card reader to accept payments. Reconnect the app to the reader. #303

Open MMavrisPaleBlue opened 3 months ago

MMavrisPaleBlue commented 3 months ago

Summary

A number of our users reported this error when trying to connect with tap to pay: Unable to prepare the built-in card reader to accept payments. Reconnect the app to the reader. Tap-to-pay used to work fine for them and suddenly is not (without any update on our side)

Code to reproduce

Unfortunately, it's not reproducible on our side but it's on our clients.

iOS version

iPhone 11 Pro Max, iOS 17.4.1

Installation method

SPM

SDK version

Public version: 2.23.2 Pushed a new version to the client with 3.5.0 and it's still reproducing

MMavrisPaleBlue commented 3 months ago

@bric-stripe Any update on this? It's reported here as well

jedwardblack commented 3 months ago

I am experiencing the same issue on iOS 17.4 & 17.4 on certain devices. See the attached error mesage. Any suggestions @nazli-stripe ?

Error Domain=com.stripe-terminal Code=3910 "Unable to prepare the built-in card reader to accept payments. Reconnect the app to the reader." UserInfo={NSLocalizedDescription=Unable to prepare the built-in card reader to accept payments. Reconnect the app to the reader., com.stripe-terminal:PrepareFailedReason=Reader could not be prepared (2999), com.stripe-terminal:ReaderMessage=Error that indicates preparation failed., com.stripe-terminal:Message=Unable to prepare the built-in card reader to accept payments. Reconnect the app to the reader.}

nazli-stripe commented 3 months ago

Hey all, we still don't have a fix from Apple but one recommendation is following the instructions here to restore the device to a healthy state: https://support.apple.com/en-ca/101582