In-App-Purchase sandbox testing error

Ravindhiran picture Ravindhiran · Jul 10, 2013 · Viewed 23k times · Source

I am getting the below error for sandbox testing while test in app purchase

you are not authorized to make purchases of this in app in sandbox at this time

How to avoid this error

Answer

Manish Agrawal picture Manish Agrawal · Jul 10, 2013

Make sure of the following:
1. The test account created is from the same developer portal from which you generated your provisioning profile.
2. The test account still exists and was not deleted from there.
3. Use the same identifier for which you created the in-app purchase for your app in iTunesConnect.