无效的IAP产品标识符 [英] Invalid IAP product identifiers

查看:305
本文介绍了无效的IAP产品标识符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我理解,对于应用程序内购买,我向商店发出请求,然后应用程序加载用户界面,用户点击购买并进行购买,然后应用程序提供它。

I understand that, for In-App Purchases, I make a request to the store, and then the app loads the UI, and the user taps "buy" and makes their purchase, and then the app delivers it.

这是关于第一步的问题:发出请求。

This is a question about that first step: making the request.

对于我的游戏,我正在制作一个IAP以1.00美元的价格删除广告。

For my game, I'm making an IAP to remove advertisements for $1.00.

我的困惑在于产品标识符。我不能在这种情况下使用我的Bundle ID,因为它包含连字符。我该怎么办?反向域名?任何字母数字标识符?

My confusion lies in the product identifier. I can't use my Bundle ID in this scenario, because it contains hyphens. What do I put? Reverse domain? Any alphanumeric identifier?

我尝试在iTunes Connect和我的代码中使用类似 noads 的内容,但这会返回无效。

I tried using something like noads in both iTunes Connect and my code, but this returns invalid.

我会使用 com.example.noads 吗?

与我的困境有关的其他一些信息:

Some other information related to my predicament:


  • 我正在我的iPhone 6上测试。我已退出iTunes和应用商店。 (下面的截图)

  • 我使用相同的我的代码和iTunes Connect之间的事情。

  • 我有一个测试帐户。我想在购买时签到。

推荐答案

确保您的销售合同生效。它一直将标识符返回为无效,直到我设置它为止。

Make sure that your sales contracts are in effect. It kept returning the identifiers as invalid until I set that up.

这篇关于无效的IAP产品标识符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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