应用内购买无效的产品 ID 仅在发布版本上 [英] In-App-Purchase invalid product id only on release version

查看:36
本文介绍了应用内购买无效的产品 ID 仅在发布版本上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我昨天发布了一个应用程序的新版本,其中添加了应用程序购买.我们在沙盒模式下使用测试帐户进行了测试,一切正常,但是一旦我们从应用商店下载应用,SKProductsRequestDelegate 方法:

I released a new version of an app yesterday which added in app purchases. We did testing with a test account in sandboxed mode and everything worked correctly, however once we download the app from the app store the SKProductsRequestDelegate method:

(void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response

返回无效的产品 ID 而不是有效的产品 ID.我很困惑,因为我以前遇到过这些类型的问题,但只有在尝试让它们在调试模式下工作时,才从应用程序商店发布应用程序之后.我已经仔细检查了这里列表中的所有内容 http://troybrant.net/blog/2010/01/invalid-product-ids/ 这些都不是问题.

returns invalid product id's instead of valid ones. I'm baffled because I've had these types of problems before but only when trying to get them to work in debug mode, never after the app has been released from the app store. I've double checked everything on the list here http://troybrant.net/blog/2010/01/invalid-product-ids/ and none of those are the problem.

这是另一个线程,这正是我的问题,但这里没有解决方案:iOS In App Purchase - Invalid Product ID"在发布中,而不是开发版

Here's another thread which is exactly my problem but no solution here: iOS In App Purchase - "Invalid Product ID" in release, NOT development version

推荐答案

事实证明,购买应用程序很神奇.在晚上 8 点左右,我们注意到一切开始正常工作.我们之前曾向 Apple 提出过帮助请求,但从未收到回复,所以我不确定这是否是修复的开始,或者这只是我们需要等待的事情之一.

It turns out in app purchases are magic. At around 8 pm we noticed that things started working normally. We had previously filed a request for help from Apple but never received a response so I'm not sure if that's what kicked off the fix or if it was just one of those things we needed to wait on.

这篇关于应用内购买无效的产品 ID 仅在发布版本上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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