سؤال

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