iOS的沙盒测试用户帐户订阅管理 [英] iOS Sandbox Test User account Subscription Management

查看:2163
本文介绍了iOS的沙盒测试用户帐户订阅管理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前,我正在试图IAP添加到现有的应用程序。为此,我已经添加了一些产品,创造了一些测试用户。该产品周期性订阅。我与测试设备与iOS 5.1的iPhone 4S。

I'm currently trying to add IAP to an existing App. To that end, I've added some products and created some test users. The products are recurring subscriptions. The device I'm testing with is an iPhone 4S with iOS 5.1.

我能成功地查询商店我的产品,并成功地与我的新测试用户购买。我的问题是,如果我尝试管理从商店设置应用我的订阅,它迫使我告诉我说:此帐户尚未被用来购买在AppStore什么来审查我的帐户,请检查您的帐户,并继续。如果我查看帐户,它不会让我继续,而无需提供信用卡式的信息。

I can successfully query the store for my products, and successfully purchase them with my new Test users. The problem I have is that if I try to manage my subscriptions from the Store Settings App, it forces me to Review my account by telling me that "This account has not been used to purchase anything in the AppStore, please review your account and continue." If I review the account, it won't let me continue without supplying CreditCard info.

最终的结果是,我永远不可能取消我的测试订阅。我已经删除测试用户,创造了新的,删除的应用程序并重新安装它,杀死了StoreApp和设置应用程序,重新启动设备,验证通过电子邮件帐户的所有排列前购买......通过电子邮件购买,没有验证帐户之前似乎忽视。

The end result is that I can never cancel my test subscriptions. I've deleted Test Users and created new ones, deleted the app and reinstalled it, killed the StoreApp and Settings App, rebooted the device, verified the accounts via email before purchasing, not verified the accounts via email before purchasing...all permutations seem to fail.

有时我会购买同一认购两倍,这将促使StoreKit问我来管理我的订阅设置。有时,这会导致在previous账户审查的过程,有时它导致,说:无法连接到iTunes Store的警报。

Sometimes I will purchase the same subscription twice which will prompt StoreKit to ask me to manage my subscription settings. Sometimes this results in the previous "Account Review" process, and sometimes it results in an Alert that says "cannot connect to iTunes Store".

我已经用完了如何继续的想法。

I've run out of ideas for how to continue.

编辑 - 这里是事件的任何iTunesConnect测试用户流量创建

EDIT - Here is the flow of events with any iTunesConnect Test User I create

初​​步认购结果

Initial Subscription

使用现有ID结果

Use Existing ID

测试帐户登录结果

Test Account Sign-In

管理认购结果

Manage Subscription

AppStore的签到结果

AppStore Sign-in

无法连接到AppStore的结果

Cannot Connect To AppStore

查看您的帐户结果

Review Your Account

然后,审查过程迫使我进入信用卡式的信息,即使它有我的地址为1无限循环加利福尼亚州Cupertino(即它知道这是一个测试帐号)。

Then, the review process forces me to enter CreditCard Info, even though it has my address as "1 Infinite Loop Cupertino, CA" (i.e. it knows this is a test account).

推荐答案

您不能真正管理沙盘订阅,但让 - 保罗·de Ville酒店戈耶去发现出来的Apple开发者论坛

You can't really manage subscriptions in sandbox, but as Jean-Paul de Ville de Goyet found out on Apple Developer Forums:

1个月订阅每5分钟自动更新。到现在为止还挺好。他们
  自动续签5次,然后他们停止,所以在25分钟后,你会得到
  在21006的错误。然而,即使回购同一预订
  它不会再在同一个测试帐户自动续约,因为它具有
  已经自动更新5次。所以,如果你想测试的更新和你
  已经与这些订阅搞乱了,而你需要
  创建一个新的iTunes Connect的测试用户。这是非常恼人的诚实
  这将是一个容易得多,如果我们可以只重置整个
  测试用户帐户的购买历史。

1 month subscriptions auto-renew every 5 minutes. So far so good. They auto-renew 5 times and then they stop, so after 25 minutes you'll get the 21006 error. However even when repurchasing the same subscription it will NOT auto-renew again on the same test account since it has already auto-renewed 5 times. So if you want to test renewal and you have been messing with these subscriptions for a while you need to create a new itunes connect test user. This is very annoying honestly and it would be a lot easier if we could just reset the entire purchase history of a test user account.

我测试了我的订阅方式相同。

I tested my subscriptions the same way.

这篇关于iOS的沙盒测试用户帐户订阅管理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆