12

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.

brain56
  • 2,659
  • 9
  • 38
  • 70

3 Answers3

16

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.

Saqib Saud
  • 2,799
  • 2
  • 27
  • 41
3

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

Jason Moore
  • 7,169
  • 1
  • 44
  • 45
1

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

lhunath
  • 120,288
  • 16
  • 68
  • 77