Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iTunes Sandbox Purchasing Not Allowed at This Time

I'm developing an app with in-app purchasing and I am getting this error:

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

I am sure I have everything set up correctly. I've made sandbox accounts for purchasing the items. I have my code intact (thanks to Ray Wenderlich), and I'm pretty sure everything else is in order. But something must not be right.

What could be causing this error?

EDIT:

I'm working on the Xcode Simulator.

like image 843
brain56 Avatar asked Apr 24 '13 02:04

brain56


People also ask

Why does it say in app purchase not allowed?

If you get hit with a message on your Apple iPhone or iPad that says “Purchase – In-app purchases are not allowed” when trying to buy purchases from within apps, it may be related to a restriction setting on the device. From the Home screen, swipe over to the screen with the “Settings” icon, then select it.

How do I enable sandbox on my iPhone?

In iOS and iPadOS, the sandbox account appears in Settings > App Store after the first time you use the device to attempt a purchase in a development-signed app. There's no need to sign out of the non-Sandbox Apple ID. Sign in using a Sandbox Apple ID.


1 Answers

If you have multiple iTunes Connect accounts, make sure that your test user accounts exist in the same iTunes Connect account as the app.

like image 72
Jason Moore Avatar answered Oct 19 '22 17:10

Jason Moore