When I use the verify receipt endpoint in my Mac apps, the Mac App Store review team always rejects them. I have apps that have been on the store for years that used this code and they verify in the production environment fine but every time I try to send an update it gets rejected.
My app does simple receipt validation like this:
- My app uses the verify receipt endpoint and talks to the server directly (not super secure but that’s okay I don’t need to maintain a server for this app).
- The verify receipt endpoint always says the receipt is invalid in in the App Review team’s testing environment.
- My app calls exit(173) after the verify receipt endpoint tells me the receipt is invalid.
- The systems shows a dialog saying the app is Damaged.
I cannot reproduce this in my testing environment nor do I see the issue occurring in the current versions of these apps live on the App Store (no code changes has been made to the receipt validation code). The issue seems to only occur in the App Review team’s testing environment.
I've been running into this issue for about a year now. I had a TSI opened last year related to this but the issue never got resolved. I just have to comment out the receipt validation code in every app...then submit my update.
Anyone else run into this with verify receipt?