Hi All,
Hoping someone can shed light on the correct way to proceed for App Review using an app built with Unity's IAP Service. I'm unsure if I have a problem with my build or there is a problem with my sequencing of the review process.
Unity’s IAP won’t recognize a product until it exists on App Store Connect (which you would expect), however App Store Connect won’t publish products until they are reviewed with a submitted binary.
I submitted a binary with my first product for review and the app was rejected for “completeness” because the product was unavailable.
I requested clarification and the review team sent a screenshot back showing the store page in the game with the IAP UI in the state I would expect for no products returned (the buttons say “unavailable” and are disabled) - which makes sense, because the IAP is not approved and therefore not available.
The review team sent the following:
"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."
It seems we are not event to the point of receipt validation because the rejection is due to products not being approved and therefore not returned when the app queries them.
So the app can't be approved unless it can be tested before the product exist in App Store Connect, but Unity's IAP won’t recognize the product until it exists in App Score Connect?
Since I had submitted once I was able to resubmit just the IAP, but that was rejected for completeness because it didn't include a binary - which was rejected because the IAP was not present - and the IAP was not present because it was not approved.
The IAP is a very simple "100 Gems" in game currency pack so I don't believe it is being rejected on its own merits, but I suppose I could be mistaken there.
I can’t be the only one with this problem, or I must be missing something… or there is something else wrong with my build.
Suggestions much appreciated!