Production invalid_application_id with iOS In-App Payments SDK 1.6.7

Hi Square team,

We have a production-only issue with the iOS In-App Payments SDK.

Sandbox works correctly, but Production returns invalid_application_id during payment token generation.

We are using SquareInAppPaymentsSDK 1.6.7, SquareBuyerVerificationSDK 1.6.7 and react-native-square-in-app-payments 2.0.1.

Our Production Application ID has been checked and is correct. Our Apple Pay Merchant ID is configured in the Square Production dashboard and the production certificate shows as Valid.

The payment token request is generated internally by the native Square SDK. Our application is not manually calling Square’s payment token endpoint.

Both Apple Pay and card entry fail before a payment token reaches our backend.

Sandbox works but Production fails with invalid_application_id.

Could a Square Developer Advocate please check whether our Production application is correctly provisioned for production tokenisation?

Thank you.

Additional confirmation: the merchant Square account is active and is successfully processing live card-terminal payments today. Square Virtual Terminal is also enabled with no activation or verification warnings. Therefore this does not appear to be caused by the merchant account being inactive.

Hey @caffesabrina! Do you mind sharing your application ID here? Happy to take a look. Please make sure you’re sharing the application ID (typically beginning with the sq0idp-... prefix) and not your access token.

Hi Josh, thanks for taking a look.
The Production Application ID is:
sq0idp-mH0kidmo40W1RGIHahG5og

Sandbox works correctly, but Production is returning invalid_application_id during token generation.

Hi Josh, just to save some time and you having to come back for further information, here are the full details we’ve established so far:

Production Application ID: sq0idp-mH0kidmo40W1RGIHahG5og

Production Location ID: L9TQB99P87QPN

SquareInAppPaymentsSDK: 1.6.7
SquareBuyerVerificationSDK: 1.6.7
React Native wrapper: react-native-square-in-app-payments 2.0.1

Apple Pay Merchant ID: merchant.co.uk.caffesabrina.app

In Square Developer Dashboard → Production → Apple Pay → iOS, the certificate for this Merchant ID shows Valid.

Sandbox works correctly. Production does not.

In Production, Square’s native SDK returns:
invalid_application_id

The /v2/payment-tokens request is made internally by the compiled SquareInAppPaymentsSDK.xcframework. Our application is not manually calling that endpoint.

Our React Native layer calls SQIPApplePay.requestApplePayNonce() for Apple Pay and SQIPCardEntry.startCardEntryFlow() for card entry.

The failure occurs during token/nonce generation, before our backend receives a token, so no CreatePayment request is subsequently made.

We’ve also confirmed the Square merchant account itself is active — Caffè Sabrina is successfully processing live card-terminal payments.

We’ve checked the Production Application ID, Production environment, Merchant ID and Apple Pay certificate and haven’t found a mismatch.

If possible, could you check on Square’s side whether this Production Application ID is correctly provisioned/recognised by the production In-App Payments tokenisation service?

Are you available to help please?