在沙盒模式下使用 App Store 验证收据

发布于 2024-12-09 08:53:37 字数 457 浏览 0 评论 0原文

我在测试应用内订阅时遇到一些问题。 要知道从哪里开始,我想知道收据是否可以被验证(当然是在沙盒模式下),即使它没有得到苹果的批准。我收到一个错误代码,由于下面的下一个问题,我现在无法重现该错误代码:

其次,我经常收到Error Domain=SKErrorDomain Code=2“无法连接到 iTunes Store”。根据Apple的说法,这意味着“用户取消了请求等”,但我没有取消任何内容!

每隔一段时间它就会起作用,即使我没有改变任何东西。我在某处读到这与我两次购买相同的订阅有关,是真的吗?我确实需要进行大量测试,并且需要花费很多时间才能等待此错误消失,这使得测试成为一项非常繁琐的任务。

当 App Store 告诉我我已经购买了该产品时,我尝试进入订阅设置,但我似乎无法使用测试用户登录。我刚刚收到“无法连接到 App Store”

谢谢!

I'm having some trouble testing my in app subscriptions.
To know where to start I would like to know if a recepit can be validated (in sandbox mode of course) even if it's not approved by apple. I get an error code which I can'r reproduce right now because of my next problem below:

Secondly, I get Error Domain=SKErrorDomain Code=2 "Could not connect to iTunes Store" a lot. It means "user cancelled the request, etc." according to Apple, but I didn't cancel anything!

Every once in a while it works though, even though I'm not changing anything. I read somewhere that this has to do with me purchasing the same subscription twice, is that true? I really need to test a lot and it takes sooo much time waiting for this error to go away, which makes testing a real cumbersome task.

I tried to go in to subscription settings when the App Store tells me that I already has purchased the product, but I can't seem to be able to log in there with my test user. I just get an "Could not connect to App Store".

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

完美的未来在梦里 2024-12-16 08:53:37

目前来看,可能是因为iOS 5升级/激活踩踏事件。

Right now, it may be because of the iOS 5 upgrading/activation stampede.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文