Hi, HELP! I am Stuck 🤢
I have developed an app that has gone live in Google Play store and works fine.
However, I am having submission issues with Apple. When they test subscriptions it fails, but I have tested it hundreds of times in TestFlight without any error, if you are enrolled as a tester in TF. If you are not enrolled in Testflight and you try it, then it will fail (as expected).
Here is the message from Apple: 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.
I am using RevenueCat, so I would though that was all covered by their system?
I am kind of stuck, everything works wonderfully in TestFlight, do I need to create Sandbox users as well (I didn't need to for my other apps)? I can see how that would help as Apple create their own users when testing?