我的问题是在我的Mac OS X应用程序中测试应用内购买; 在我看来,问题与我的测试帐户有关。 之前我可以使用测试用户帐户在我自己的Mac上测试IAP。 但几周前,当我试图在沙盒中进行购买时,出现了一个对话框,说我应该在App Store上查看我的帐户信息,我登录真正的App Store时犯了一个错误,我的测试帐户不能现在用于测试。
问题是:我删除了旧的测试帐户并创建了一个新帐户。 现在,当我想测试IAP时,会出现一个对话框,询问我是否要在沙盒环境中购买产品,而下一个提示用户/密码的对话框不会显示。
使用NSLog我发现,当我进入应用程序商店时,正在加载产品,当我点击产品购买时,应用程序开始购买带有产品ID的产品。 如果我是对的,在这个阶段,提示应该显示出来:你想购买产品myproduct [沙箱环境]吗? 但是这个对话框永远不会出现! 我从未在旧测试帐户中遇到过同样的问题。
任何建议?
My problem is testing In-App purchase in my Mac OS X application; it seems to me that the problem is related to my test account. I could test IAP on my own Mac quite well with a test user account before. But a few weeks ago while I was trying to make a purchase in sandbox a dialog box showed up saying that I should review my account information on App Store, I made a mistake by logging into the real App Store and my test account can't be used for testing now.
Here is the problem: I deleted the old test account and created a new one. Now, when I want to test the IAP the dialog box that asks if I want to purchase a product in sandbox environment and the next one that prompts for user/pass don't show up.
Using NSLog I figured out that when I enter In-App store, products are being loaded and when I click on a product to buy it, app starts buying product with product ID. If I am right, at this stage the prompt should show up saying: do you want to buy product myproduct [sandbox environment]? But this dialog box never shows up! I never experienced the same problem with the old test account.
Any suggessions?
最满意答案
问题得到解决。 我现在可以在更新iTunes后使用我的新测试用户帐户测试IAP!
The problem is resolved. I can now test IAP using my new test user account AFTER I updated iTunes!
更多推荐
发布评论