开发者

iPhone - in-app purchase dumbness

开发者 https://www.devze.com 2023-03-20 03:37 出处:网络
I have this app setup with开发者_开发知识库 in-app purchase. If I am logged in on iTunes with my regular account, when I run the app and tap to buy an item in my app, it works, it asks me if I really

I have this app setup with开发者_开发知识库 in-app purchase.

If I am logged in on iTunes with my regular account, when I run the app and tap to buy an item in my app, it works, it asks me if I really wan to buy the item for X dollars bla bla bla... if I proceed it will probably buy it.

but, if I log out from my regular iTunes account and run my app again, it fails before asking me if I want to buy the in-app.

So, it is not a matter of user or certificates. It is a sandbox problem. You see, it doesn't even asks me if I want to buy the product, that is a screen before you type the user credentials. It fails with "cannot connect to iTunes store" error... !!!

Any clues of what may be happening? Thanks.


The cannot connect to iTunes store -1003 is a common error. 1) Reset your Network Settings on your device and try again. 2) Create a new test user account (This might not be useful in your case, since it throws error even before login)


If you do not have an account how you are able to buy an application? the application checks first in itunes account. so its compulsory for you to be logged in in itunes when the in app purchase executes. this is not an error. It is a feature provided by apple.

0

精彩评论

暂无评论...
验证码 换一张
取 消