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.

有帮助吗?

解决方案

Chances are you are using provisioning profile from different developer account. In my case, products were registered with clients developer account and I was using my own developer account to test the app.

其他提示

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

Your iTunes test user might also have been deleted. Deleted users can apparently still log in but no longer make purchases.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top