iOS In-App Purchase 内购之测试内购产品

Testing In-App Purchase Products

您可以测试您的应用程序和应用程序内购买的产品不会造成金融交易。这是因为苹果公司提供了一个使用应用程序商店的基础设施测试环境,但不处理实际付款。使用iTunes连接测试用户帐户,它,而不是返回支付处理成功的结果。


有关哪些要执行的测试的详细信息,请参阅  In-App Purchase Programming 中的  GuideSuggested Testing Steps .


测试您的应用程序和应用程序内购买产品

当你测试应用程序内购买的产品使用测试用户帐户。

To perform testing for In-App Purchase products


Testing Auto-Renewable Subscriptions

当在测试环境中测试自动再生订阅,请记住,持续时间被压缩。此外,测试订阅最多只有六次自动续订。表3-1列出了压缩持续时间。


表3-1认购持续时间进行测试

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

Submitting In-App Purchase Products

提交应用程序内购买产品

您在iTunes Connect创建应用程序内购买产品后,提交给苹果审核。


提交你的第一个应用程序内购买产品


当您提交的应用程序版本审核提交您的第一个应用程序内购买的产品。


重要说明:要在应用程序内购买的产品与您的应用程序的发布相关联,确保其状态是准备提交。

To submit the first In-App Purchase product for an app


Submitting In-App Purchase Products

提交应用程序内购买产品


一个应用程序可在店内与现有应用程序内购买产品后,您可以在任何时候应用程序提交更多的应用程序内购买的产品。

To submit an In-App Purchase product for an app that is available on the store



Working with Your Product’s Status

您在iTunes Connect创建一个应用程序内购买的产品记录后,该产品会出现在应用程序的应用程序内购买页面。本章介绍了用于描述产品状态的状态值,并告诉您如何改变产品的地位,其对存储可用性,并且其定价。


要管理在应用程序内购买的产品,你必须登录到iTunes连接与管理组或者技术角色的用户。

About In-App Purchase Product Statuses

有关应用程序内购买的产品状态

就像应用程序,应用程序内购买的产品都标有一个状态。此状态表示其中的产品是在使它们可用于购买或下载的过程。


在应用程序内购买的产品有状态,例如“准备提交”或“批准”),或者一个状态指示灯(如../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

../Art/status_red_2x.png

Waiting for Screenshot

Your In-App Purchase product has been created, but you have not yet uploaded a screenshot.

../Art/status_yellow_2x.png

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. 

../Art/status_yellow_2x.png

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.

../Art/status_yellow_2x.png

Processing Content

Your In-App Purchase product content delivery is processing.

../Art/status_yellow_2x.png

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.

../Art/status_yellow_2x.png

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.

../Art/status_green_2x.png

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.

../Art/status_red_2x.png

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.

../Art/status_yellow_2x.png

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.

../Art/status_red_2x.png

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.

../Art/status_red_2x.png

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.设置清零出售给号.

../Art/iap_cleared_for_sale_2x.png

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.在产品的配置页面,点击删除。

../Art/iap_delete_iap_2x.png

3.单击删除进行确认。




















  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值