1. Paste your receipt in the field to the left. 2. Add your iTunesConnect App-Specific Shared Secret if the receipt contains subscriptions. 3. Hit verify!
Because it's Friday after 5pm, the rest of the company is already heading out for a drink, and you're still at your desk trying to figure out why Darren in QA's purchase didn't work so that you can submit your build to Apple. All you have to work with is this giant base64 blob. You go diving into the man page for 'curl' to figure out how to set a body from a file, because the blob is too big to paste on the command line. Meanwhile, the marketing and content teams are already cruising into the weekend on a land yacht made of IPAs, and here you are, desperate, tired, and looking for a solution. Behold: your ticket to freedom.
The receipt is sent to a proxy that relays it to Apple.
Receipts are pretty inert. Even with the shared secret, the only thing you can do with a receipt is query its status. You can't cancel or change a purchase with the receipt.
Nope. We proxy, return the response, and that is it. The source code for the proxy server is here.
|21000||The App Store could not read the JSON object you provided.|
|21002||The data in the
|21003||The receipt could not be authenticated.|
|21004||The shared secret you provided does not match the shared secret on file for your account.|
|21005||The receipt server is not currently available.|
|21006||This receipt is valid but the subscription has expired. When this status code is returned to your server, the receipt data is also decoded and returned as part of the response.
Only returned for iOS 6 style transaction receipts for auto-renewable subscriptions.
|21007||This receipt is from the test environment, but it was sent to the production environment for verification. Send it to the test environment instead.|
|21008||This receipt is from the production environment, but it was sent to the test environment for verification. Send it to the production environment instead.|
|21010||This receipt could not be authorized. Treat this the same as if a purchase was never made.|
|21100-21199||Internal data access error.|