Titanium StoreKit module won't verify test account

大憨熊 提交于 2019-12-12 20:12:16

问题


I have a recurring subscription product as an in app purchase in my Titanium app. When I go to test this, it retrieves the correct product from iTunes and I get almost all the way through checkout, but before it lets me purchase, it says "Verification Required Before you can make purchases, you must tap Continue to verify your payment info. [Environment: Sandbox]"

When I press Continue, it takes me into the App Store and just has a dialog box that says "[Environment: Sandbox]" with a Cancel and Continue button. If I press Continue again, it asks me for my password. After entering, I just get the same dialog again. This continues endlessly.

In the Titanium console, it shows "Error in transaction: Cannot connect to iTunes Store".

I'm debugging on an iPhone 5S with iOS 7, using Titanium SDK 3.1.3 and StoreKit module version 3.0.0. Any ideas?

=======

EDIT: As it turns out, when you create a Test User in iTunes Connect, Apple sends a verification email to the email address used. If you verify the new account, it becomes an actual iTunes account, no longer a test account, and you get an endless loop of verifying payment info. DO NOT verify a Test User account.

来源:https://stackoverflow.com/questions/20622470/titanium-storekit-module-wont-verify-test-account

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!