I just had my app rejected. This was the first review for a new app, so I wasn’t surprised. However, the problem the reviewer noted was during the testing of the in-app purchase saying they received errors when testing the purchase. They provided two screenshots of the purchase screen errors.
The operation couldn’t be completed (SKErrorDomain error 2)
An unknown error occurred
Of course I tested on my devices. iPhone XS running iOS 14, and iPad 7th gen running iOS 13.something. The reviewer was reviewing on iPad iOS 14 on Wi-Fi. I am downloading iOS 14 on my iPad to see if this can be recreated. They also mention:
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.
But I am not using my own server for validating. Just using Apple’s
Has anyone received this error message before with an app with IAP? I’m not sure what to do. Before posting, I just tested again on my iPhone using a different sandbox account, and the purchase went through successfully. Of note, before I performed the test purchase on iPhone, I clicked on the Buy button. When the box came up to enter the Apple ID and password, when I click Cancel, then I saw the error message of the SKErrorDomain error 2. Is this normal to be displayed, and is this normal for the reviewer to click the Cancel button?