Skip to main content

My App Store release has been rejected

You've implemented IAPHUB in your app successfully, everything is working great in sandbox and you're ready to release your app on the App Store? The Apple Review team will test your in-app purchases implementation before approving your app.

You might receive a rejection because the reviewer reported an issue even if everything is working fine on your side in sandbox, disturbing right? Let's try to find the cause of the rejection.

The reviewer will sometime provide the 'Next steps' to resolve the issue, it is usually not very helpful, the most common message is the one below

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.

If you receive this message it is simply not the reason of your issue, IAPHUB is validating the receipt using the recommended approach.

You should first find out if the reviewer couldn't fetch the products for sale or had an error during the purchase.

Issue fetching the products for sale

You should double check you're able to load the products for sale in sandbox.
If that's the case the issue isn't related to IAPHUB but most likely because iTunes isn't returning the products.

If you're selling in-app purchases for the first time it is possible the issue is related to your app submission.

First check your in-app products, all your products should be Ready to submit (if you've already implemented in-app purchases in the past your products should be Approved).

If the status isn't correct, you should edit the product in order to fix it.



When submitting an app version selling in-app purchases for the first time, the products must be selected in the submission.

Issue during purchase

You should double check you're able to puchase a product in sandbox.
If everything is working fine in sandbox, go to the Receipts page on the IAPHUB dashboard and look for a failed receipt created when the Apple Review team tested your in-app purchases.

If you do find a receipt that match you can click on it to get more infos about the error, otherwise it means the payment didn't go through (because of a client side error) and the issue isn't related to the receipt validation of IAPHUB.

You should try to find out what's the error code returned by the buy method, it might help.

Support

If you cannot find the reason of your issue, we can try to help at [email protected] but it might be difficult for us to find out an issue related to your code.