You are not authorized to make purchases of this InApp in Sandbox at this time

DiDinko picture DiDinko · Aug 21, 2015 · Viewed 18.9k times · Source

I'm trying to make in-app (non-consumable) in my app.

I'm trying to buy the package but I can't...

Of course, I've looked here for answer, but I have one actual account everywhere - at developer.apple.com - also I've created provisioning profiles, at itunesconnect.apple.com and in Xcode as well...

My bundle identifier is the same across the all websites and application.

The Application finds my package and show me the price of it. When I click on BUY the alert view show the text:

You are not authorized to make purchases of this InApp in Sandbox at this time.

[Environment: Sandbox]

Any ideas please?

Answer

Tuğrul Özdemir picture Tuğrul Özdemir · Aug 21, 2015

You can use In-App purchase test users, to test In-App purchase in sandbox mode.

Create test users in the "Users and Access" section of appstoreconnect.apple.com

Before testing In-App purchase, Using the Settings app, logout your actual Apple ID and login the test user account directly via your app. (DON'T login the test user via Settings app or AppStore.)