Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS In-App Purchase - Authentication Failed - There was a problem with the app store

Everything working fine using RevenueCat in Google purchasing and Apple sandbox. But in production mode (iOS 14 and Xcode 12) I got the below error on trying to make a purchase.

[Purchases] - DEBUG: PaymentQueue removedTransaction: agfpro3m (null) ((null) Error Domain=SKErrorDomain Code=0 "An unknown error occurred" UserInfo={NSLocalizedDescription=An unknown error occurred, NSUnderlyingError=0x282604db0 {Error Domain=ASDErrorDomain Code=500 "Unhandled exception" UserInfo={NSUnderlyingError=0x282604c60 {Error Domain=AMSErrorDomain Code=100 "Authentication Failed" UserInfo={NSLocalizedFailureReason=The verify credentials call failed., NSLocalizedDescription=Authentication Failed, NSUnderlyingError=0x2826048a0 {Error Domain=AMSErrorDomain Code=0 "Authentication Failed" UserInfo=0x283c84380 (not displayed)}}}, NSLocalizedFailureReason=An unknown error occurred, NSLocalizedDescription=Unhandled exception}}}) {
    NSLocalizedDescription = "An unknown error occurred";
    NSUnderlyingError = "Error Domain=ASDErrorDomain Code=500 \"Unhandled exception\" UserInfo={NSUnderlyingError=0x282604c60 {Error Domain=AMSErrorDomain Code=100 \"Authentication Failed\" UserInfo={NSLocalizedFailureReaso
2020-10-15 09:36:10.504 [info][tid:com.facebook.react.JavaScript] [Error: There was a problem with the App Store.]

My app was rejected and they say the following.

We found that your in-app purchase products exhibited one or more bugs when reviewed on iPad running iOS 14.0.1 on Wi-Fi.

Specifically, there was an issue with the In app Purchase. We could not complete the purchase as we encountered a bug.

Next Steps

When validating receipts on your server, your server needs to be able to handle a production-signed app getting its receipts from Apple’s test environment. The recommended approach is for your production server to always validate receipts against the production App Store first. If validation fails with the error code "Sandbox receipt used in production," you should validate against the test environment instead.

Anyone already faced this issue?

Thanks!!!!

like image 765
Oswaldo Avatar asked Oct 15 '20 12:10

Oswaldo


People also ask

Why does it say Authentication failed on my iPhone?

Major iOS updates like iOS 13 can change information on your phone easily like the iCloud credentials. If ever this is the reason why you're getting an iCloud authentication or unsupported ID error on your iPhone XS, signing out from your iCloud account then signing in again could help in fixing the problem.

Why did my Apple ID verification failed?

Maybe verification failed because your Apple ID or password is incorrect, so you had better enter your correct Apple ID and password for a second try. Step 1. Sign out of your iCloud account. Open "Settings" app on your iPhone. Choose "iCloud" and scroll down to hit "Sign Out" at the bottom.

How to verify failed error with iOS system recovery?

[Solution] Verify Failed Error with iOS System Recovery 1 Fix iPhone from recovery mode, DFU mode, headphone mode, blue screen and other abnormal situations back to the normal... 2 Support iOS 11 and iPhone X/8 Plus/8/7 Plus/7/SE/6S Plus/6S/6 Plus/6/5S/5C/5/4S, iPad and iPod devices. 3 Offer the safe, clean and easy to use interface. See More....

How to stop buying apps on my iPhone?

[Solution] How to Stop Buying Apps on My iPhone 1 Tap iTunes & App Store Purchases. 2 Tap In-app Purchases and set to Don't Allow. You can also go to Settings > Screen Time > Content & Privacy Restrictions, and tap Allowed Apps. Then deselect iTunes Store and Books. See More....

What should I do if my Apple ID won’t login?

The first thing you should do is to re-login your Apple ID on any of the Apple services that you often utilize. The services you can try include Apple Online Store, Apple Retail store services, iTunes, Apple TV, FaceTime, iCloud, Apple Support Communities, etc. When trying to login again, you will be prompted to enter your Apple ID and password.


1 Answers

This happened to my setup because the account I was trying to sign in with wasn't registered as a Sandbox Tester.

When testing out purchases locally, you are always working in the sandbox. You must set up a sandbox tester for this to work properly.

like image 200
bobobobo Avatar answered Oct 12 '22 15:10

bobobobo