inAPP购买测试流程

发布于 2024-11-03 01:43:49 字数 414 浏览 1 评论 0原文

我正在疯狂测试我的应用程序的应用内购买功能。我无法获得任何有效的产品。

我会尝试在这里提出一些问题,希望有人能回答。

  1. 我是否必须在 iTunes connect 上上传测试应用程序的二进制文件?我的应用程序从未在应用程序商店中发布过,它是一个刚刚测试的全新应用程序。

  2. 如果我必须上传二进制文件,我会上传分发签名的二进制文件。现在,我必须在测试中使用相同的二进制文件(分发签名)吗?或者我可以使用开发人员二进制文件?

  3. 我已经检查了很多很多次所有关键和已知问题,例如 Boundle ID、税务信息、清除出售复选框以及所有这些内容。它们都很好。

  4. 添加 iAP 产品后,它被标记为“等待审核”,这是正确的还是我应该等待它更改状态才能看到它有效?

I'm going crazy testing my app for inApp purchase. I cannot get any valid product.

I'll try to make some questions here, hope someone could answer.

  1. Do I have to upload the binary of my test app on iTunes connect? My app has never been published in app store, it's a brand new app just in test.

  2. If I have to upload binary, I upload a Distribution signed binary. NOW, do I have to use the same binary (Distribution signed) on my tests? Or I can use a developer binary?

  3. I've checked many and many times all critical and known problems like boundle ID, taxes info, Clear for sale checkbox and all these things. They are all ok.

  4. After adding an iAP product, it is marked "Waiting for Review", is this correct or I should wait it change state before I can see it as valid?

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

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

发布评论

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

评论(9

凉城凉梦凉人心 2024-11-10 01:43:49

在 SANDBOX 环境中测试应用内购买之前,无需提交应用程序二进制文件。

应用内购买产品将显示“准备提交”。在此处输入图像描述

There is no need what-so-ever to submit the application binary before testing in-app-purchase in SANDBOX environment.

The In-App-Purchase product'll 've state READY TO SUBMIT.enter image description here

扛刀软妹 2024-11-10 01:43:49

我有同样的问题。
对我来说,结合起来帮助了两件事:

  1. 通过再次上传二进制文件来删除“拒绝”状态
  2. 不要使用越狱设备

但在常见问题解答 6 中列出了此问题的更多原因:

  • 您没有完成所有财务要求(请参阅本文档的“合同、税务和银行信息”部分)。

  • 您没有使用显式应用 ID。

  • 您没有使用与您的显式应用 ID 关联的配置文件。

  • 您没有在代码中使用正确的产品标识符。有关产品标识符的更多信息,请参阅技术问答、QA1329、“应用内购买产品标识符”。
  • 您未清除在 iTunes Connect 中销售的应用内购买产品。
  • 您可能修改了您的产品,但这些更改尚未适用于所有 App Store 服务器。
  • 如果您或 App Review 拒绝了 iTunes Connect 中最新的二进制文件。

希望这会对你们中的更多人有所帮助。

i had the same problem.
for me helped 2 things in combination:

  1. remove "rejected" status via uploading the binaries again
  2. don't use a jailbroken device

But in FAQ 6 are some more reasons for this problem listed:

  • You did not complete all the financial requirements (see the "Contracts, Tax, and Banking Information" section of this document).

  • You did not use an explicit App ID.

  • You did not use the Provisioning Profile associated with your explicit App ID.

  • You did not use the correct product identifier in your code. See Technical Q&A, QA1329, 'In App Purchase Product Identifiers' for more information about product identifiers.
  • You did not clear your In App Purchase products for sale in iTunes Connect.
  • You might have modified your products, but these changes are not yet available to all the App Store servers.
  • If you or App Review rejected your most recent binary in iTunes Connect.

hope this will help some more of you.

孤凫 2024-11-10 01:43:49

不要理会所有围绕应用内购买的巫毒建议,苹果官方 技术说明 TN2259 详细描述了所有步骤......并且它有效。

Don't bother with all of the voodoo suggestions surrounding in-app purchases, the official Apple Technical Note TN2259 describes all the steps in detail... and it works.

戈亓 2024-11-10 01:43:49

您不必上传二进制文件。您可以在 iTunes Connect 中设置您的应用程序,然后设置与其关联的产品。您的产品上的“等待审核”将一直等待审核,直到您提交二进制文件并提交应用程序并获得批准。但是,即使您的产品“等待审核”,您仍然可以进行测试。有一个过渡状态(IIRC),作为开发人员,您必须在测试后将您的产品标记为已批准。

注意:在 iTunes Connect 中创建应用程序后,您有 90 天的时间提交二进制文件,然后他们会从您手中夺走您的应用程序名称。

注意 2:在提交之前使用调试版本进行测试时,您必须使用开发沙箱服务器。有关详细信息,请参阅 IAP 文档。

You do not have to upload a binary. You can set up your app in iTunes Connect, and then set up your products associated with it. The "Waiting For Review" on your products will stay waiting for review until you submit a binary and submit the app and it gets approved. You can still test, however, even with your products "Waiting For Review". There is (IIRC) a transitional state which you as developer must mark your products as approved after you have tested them.

Note: Once you create the app in iTunes Connect, you have 90 days to submit a binary before they take your app name away from you.

Note 2: When testing with your debug build before submission, you have to use the development sandbox servers. See the IAP documentation for more info.

老旧海报 2024-11-10 01:43:49

我也花了太多时间在这个确切的问题上..
您无需上传二进制文件即可进行应用内购买测试,这意味着在 iTunes connect 中您无法将其他产品添加到 iTunes 货架上的现有产品中。例如,如果您的应用程序已上线且版本为 1.0,并且 v1.0 提交时仅包含一项与其相关的应用程序内购买,则 v1.0 永远不可能有第二个应用程序内产品,以添加第二个(或更多) )在应用程序产品中,您需要重新提交,升级到 1.01 或其他版本。我忽略的关键事情是,我希望这会有所帮助,那就是您必须使用为相关应用程序制作的配置文件,而不是 xCode 的小助手向导默认构建内容的通用配置文件。尝试一下

I spent waay too much time on this exact problem too..
you do not need to upload a binary to get the in app purchase testing, what that means in iTunes connect there is that you cant add additional products to an existing product on the iTunes shelves. For example if your app is live and at version 1.0, and v1.0 was submitted with only one in app purchase connected with it, there can never be a 2nd in app product for v1.0, to add a 2nd (or many more) in app products you need to resubmit, go up to 1.01 or whatever. The key thing that I was overlooking, and I hope this helps, is YOU MUST BE USING A PROVISIONING PROFILE FOR THAT IS MADE FOR THE APP IN QUESTION, not the generic profile that xCode's little helper wizard thing just builds stuff on by default. Try that

吐个泡泡 2024-11-10 01:43:49

如果您在应用程序内购买 (IAP) 方面遇到困难,请确保正确完成一些操作,

  • 在 iTunes 中创建您的应用程序,就像发布
  • 设置应用程序内购买(提供包括屏幕截图在内的所有内容)
  • 创建测试用户(非常重要,因为您无法在沙箱中使用真实用户进行测试)
  • 转到您的应用程序查看详细信息并确保您看到您设置的应用程序内条目显示在那里,如果没有“编辑”该部分以选择适当的应用程序内- App入口(非常重要)
  • 点击“Ready”上传二进制文件”按钮(同样,非常重要)。那时不必担心上传二进制文件,因为从那时起您有 90 天的时间上传二进制文件。
  • 在您的代码中实现 IAP(有很多示例,我更喜欢 http://xcodenoobies.blogspot.com/2012/04/implementing-inapp-purchase-in-xcode.html
  • 如果您正在测试它设备确保注销(设置 > iTunes 和 App Store > 注销(非常非常重要)

完成所有这些后,您应该能够使用这些测试帐户进行应用内购买。几发后就可以了对我而言。

Those of you having trouble with In-App Purchase (IAP) make sure a few things are done correct,

  • create your app in iTunes as you do for release
  • setup In-App Purchase (supply everything including screenshot)
  • create test users (very important as you cannot use a real user to test while in Sandbox)
  • go to your app View Details and make sure you see the In-App entry that you've setup show up there, if not "edit" that section to choose the appropriate In-App entry (very important)
  • click on "Ready to upload binary" button (again, very important). Don't worry about uploading binary at that time as you have 90 days from then to upload your binary.
  • implement IAP in your code (there are many samples out there, I prefer http://xcodenoobies.blogspot.com/2012/04/implementing-inapp-purchase-in-xcode.html)
  • if you are testing it on a device make sure to signout (Settings > iTunes & App Store > Signout (very, very important)

Once all these are done you should be able to make In-App purchases using those test accounts. It worked after a few hair pull-offs for me.

メ斷腸人バ 2024-11-10 01:43:49

确保项目捆绑 ID 与在 itunesconnect 中注册的应用程序相同。

Ensure that the project Bundle ID is the same as the registered for the application in itunesconnect.

樱桃奶球 2024-11-10 01:43:49

我在发布我的应用程序之前尝试测试......
这发生在我身上...

-我的应用内购买产品已准备好提交。但我无法收到获取请求。无法测试。

-当我首先存档我的应​​用程序时,我可以开始测试...

因此需要存档才能在应用程序购买中进行测试

I was trying test before release my application...
that was happened to me...

-My in app purchase product was ready to to submit. But I could not get fetch request. could not tested.

-When,firstly i archive my app, I could start testing...

So archiving up required to test in app purchase

清引 2024-11-10 01:43:49

第一次设置应用内购买是一件非常令人头疼的事情。我相信您确实需要在 iTunes Connect 中提交二进制文件。只需提交它,然后立即“开发人员拒绝”它。如果不起作用,请等待几个小时或一天,然后看看它是否起作用。另外,请确保在 iTunes Connect 中为应用内购买勾选“已批准出售”。

编辑:您应该提交分发二进制文件,但可以继续使用您的开发二进制文件进行测试。

Setting up In-App purchases for the first time is a huge headache. I believe that you do need to submit a binary in iTunes Connect. Just submit it and then "developer reject" it right away. If it doesn't work then, wait a few hours or a day and then see if it works. Also, make sure that you check off "Cleared for Sale" for your In-App purchase in iTunes Connect.

EDIT: You should submit a distribution binary but may continue to test with your development binary.

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