您可以测试您的应用程序和应用程序内购买的产品不会造成金融交易。这是因为苹果公司提供了一个使用应用程序商店的基础设施测试环境,但不处理实际付款。使用iTunes连接测试用户帐户,它,而不是返回支付处理成功的结果。
有关哪些要执行的测试的详细信息,请参阅 In-App Purchase Programming 中的 GuideSuggested Testing Steps .
测试您的应用程序和应用程序内购买产品
当你测试应用程序内购买的产品使用测试用户帐户。
》To perform testing for In-App Purchase products
Actual duration |
Test duration |
---|---|
1 week |
3 minutes |
1 month |
5 minutes |
2 months |
10 minutes |
3 months |
15 minutes |
6 months |
30 minutes |
1 year |
1 hour |
您在iTunes Connect创建应用程序内购买产品后,提交给苹果审核。
提交你的第一个应用程序内购买产品
当您提交的应用程序版本审核提交您的第一个应用程序内购买的产品。
重要说明:要在应用程序内购买的产品与您的应用程序的发布相关联,确保其状态是准备提交。
》To submit the first In-App Purchase product for an app
》To submit an In-App Purchase product for an app that is available on the store
有关应用程序内购买的产品状态
就像应用程序,应用程序内购买的产品都标有一个状态。此状态表示其中的产品是在使它们可用于购买或下载的过程。
在应用程序内购买的产品有状态,例如“准备提交”或“批准”),或者一个状态指示灯(如../Art/status_green_2x.png,../Art/status_yellow_2x.png,或../Art/ status_red_2x.png)。状态立即告诉您您的产品是否需要注意。
红色状态指示灯意味着你需要执行一些动作之前的产品可以提供。
黄色的状态指示灯意味着一些程序正在进行,由您或苹果要么控制。
状态指示灯为绿色表示该产品是可用的。
阅读表5-1中的版本状态文字理解可能会阻止你的产品被提供。下表列出了可以分配给您的In-App Purchase的每一个可用的状态。
表5-1在应用程序内购买的产品状态
Status |
Status Name |
Description |
---|---|---|
|
Waiting for Screenshot |
Your In-App Purchase product has been created, but you have not yet uploaded a screenshot. |
|
Ready to Submit |
You have uploaded all the metadata needed for the product, but you have not yet sent it to Apple for review. The product must have this status to be associated with an app version release, as described in To submit the first In-App Purchase product for an app. After testing the product, you can submit it for review. |
|
Waiting for Upload |
Your In-App Purchase product content has not been uploaded yet. This status only applies to non-consumable products that are set to be hosted by Apple. |
|
Processing Content |
Your In-App Purchase product content delivery is processing. |
|
Waiting For Review |
You have submitted your In-App Purchase product to be reviewed by Apple. You can make edits to the product while it is in this status. |
|
In Review |
Your In-App Purchase product is currently being reviewed by Apple. Only edits to the product’s reference name, pricing, and availability can be made when it has this status. |
|
Approved |
Apple has approved your In-App Purchase to go live on the App Store with its associated app. For this status to appear, the In-App Purchase must be cleared for sale in iTunes Connect. If it is not cleared for sale, the status appears as Developer Removed from Sale. If the product is being released with an app version, the product won’t have an Approved status until the app is approved. |
|
Rejected |
Apple has rejected your In-App Purchase product during the review process. If you have not already been contacted by Apple with more information about your rejection, you can inquire through the Contact Us module of iTunes Connect. You have the option to cancel the change or make additional edits to the details to be compliant with Apple guidelines. Your In-App Purchase product status changes to Developer Action Needed if there is a detail in the In-App Purchase that requires a change by you. |
|
Developer Action Needed |
The In-App Purchase product changes that you submitted have been rejected. You are required to take action to edit the detail information or cancel the request to change the detail information before this In-App Purchase can be reviewed again. |
|
Developer Removed from Sale |
You have marked your In-App Purchase as not cleared for sale in iTunes Connect. If you clear the product for sale, the status changes to Approved. |
|
Removed from Sale |
Appears when Apple removes an In-App Purchase product from sale. |
改变产品定价
您可以在任何时候改变定价应用程序内购买产品
>To change product pricing
控制产品供货
在应用程序内购买的产品是面向全球,并且不受领土限制。这种可用性确保无缝的客户体验。例如,如果一个应用程序是在德国购买的客户转移到土耳其,客户仍然可以访问,即使该应用程序从未使用土耳其的应用程序内的产品。如果你需要限制某些原因,产品准入,你开发的应用程序内的解决方案。
从销售中删除产品
您可以选择从一个应用程序被出售停止应用程序内购买的产品。如果你这样做,在应用程序内购买的产品仍然在iTunes Connect。
重要提示:删除从销售产品防止自动再生订阅的更新,但它不会让用户能够恢复他们以前购买的产品。
>To remove an In-App Purchase product from sale
1.打开应用内购买页面的应用程序,如在 To view In-App Purchase product configuration information.
2.单击要删除的程序内置购买产品的排。
3.在应用程序内购买摘要部分,单击编辑。
4.设置清零出售给号.
5.点击保存。
In-App Purchase的产品更改为开发者从销售中删除的状态。用户将不会看到这款产品的销售通过应用程序。
回到产品以销售
当你通过你的应用程序中删除从销售应用程序内购买的产品,你可以回到它出售,如果您想要的。
>To return an In-App Purchase product to sale
删除产品
您可以删除应用程序内购买产品,他们正在创建后,但如果他们在回顾。要删除的产品后,为可供出售,必须先出售中删除。见 Removing Products from Sale.
重要提示:在删除应用程序内购买的产品,它不再在iTunes Connect和无法恢复。产品ID不能重复使用另一个应用程序内购买的产品。
要删除应用程序内购买
1.从销售中删除应用程序内购买的产品,如Removing Products from Sale.
2.在产品的配置页面,点击删除。
3.单击删除进行确认。