Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 389
DiDinko Avatar asked Aug 21 '15 05:08

DiDinko


People also ask

How do I fix in app purchases not allowed?

In iOS 11 and lower, choose “General” > “Restrictions“. Type your restriction password. If you don't remember setting a password, ask anybody else who may have had access to the device. Scroll down to the “In App Purchases” or “iTunes & App Store Purchases” option and ensure it is turned “On/Allow“.

Why is it saying in app purchases not allowed?

If you are trying to make a purchase within an App and your iPhone displays a message reading “In-App Purchases are not allowed”, it is most likely that In-app purchases are restricted on your device.


1 Answers

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.)

like image 177
Tuğrul Özdemir Avatar answered Oct 11 '22 17:10

Tuğrul Özdemir