Mobile Payments SDK & Reader Connection

Hi!

Looking for some assistance with the React Native Mobile Payments SDK. I’m getting error messages from the SDK while connecting my reader to the app - although it say’s connecting at first, I get this message: “localizedDescription”: “Please reinstall Point of Sale.”, “failureReason”: “DENIED_BY_SERVER”. I have checked the forums regarding and it seems to be a common issue where this error is non-descript for miscellaneous issues (e.g., using Expo development mode, app permissions, etc.). The reader appears working fine in the Square POS app, but not my react app. I get a successful pairing of the reader, but not a connection. Would appreciate any guidance here.

Error Message: CONNECTION FAILURE: {
“localizedDescription”: “Please reinstall Point of Sale.”,
“localizedTitle”: “Reinstallation Required”,
“recoverySuggestion”: “NO_SUGGESTION”,
“failureReason”: “DENIED_BY_SERVER”
}

iPad OS: 18.6.2 Reader: Chip/Contactless
Info.plist: incl. Bluetooth, Microphone, Location
APP ID: sq0idp-FC5BsH8Lu6kvUxMNC2EQ6w
Loc ID: LH7S3DRB5N3MC
SDK Ver: SquareMobilePaymentsSDK (2.2.3)
TZ: PST
Registered App in Dev Console: Added Bundle ID and Team ID registered in Mobil Payments SDK Settings via Developer Portal.

To the extent relevant, i do not pay for apple developer account and re-deploy daily/weekly - not sure if this is relevant. There are certain restrictions in doing so. Please let me know if i can provide any other details.

Thank you! - Nick

:waving_hand: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Handling Errors
React Native Plugin: In-App Payments SDK
Reader SDK

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

If you check the authorization are you getting a response that says that your authorized? :slight_smile:

Correct, it does show as authorized. I tried using OAuth tokens instead (was using personal token prior) and that didn’t change anything - authorized via PAT and OAuth properly.

I did some research into the App Signing and I’m thinking because I only have a personal developer account (non paid and doesn’t come with a user’s own app signing privileges), it seemingly uses a generic apple developer/distribution certificate to sign the app (although i still have a Team and Bundle ID). Any idea if that would cause hiccup?

TY! :slight_smile:

For Reference:

I have found the answer! It does indeed seem that an Apple Developer Account (paid version, not free - “Apple Developer Program”, $99/yr) is required in order to authorize the reader with the application. My guess is that this has to do with Apple’s signing process and what’s determined to be acceptable for Square as the signing is required to verify no changes have been made outside of the developer’s workflow. I’d tried everything else possible but it seems this was the trick!

Thank you for the help!

Glad to hear that you figured it out. Thanks for sharing. :slight_smile: