如何找出应用内购买可自动更新的全部175个地区的产品价格等级

问题描述

我在App Store中有一个实时应用。我正在使用iTMS传输工具通过元数据XML将自动可再生产品上传到App Store。我在美国领土上使用美元格式的产品价格(例如:0.99美元)。

在XML中,必须以XML传递所有175个Apple支持的地区价格层。

My Questions are,1. How to calculate price tier for this amount.(0.99$ USD --> Equivalent Tier).
2. Based on this,how to calculate the price tier for all other territories.

**Sample XML format:**
<prices>
 <price>
<territory>QA</territory>
**<tier>3</tier>**
</price>
<price>
<territory>AZ</territory>
**<tier>2</tier>**
</price>
<price>
<territory>SE</territory>
<tier>8</tier>
</price></prices>

I have checked App store connect API's. 

对于给定的美元金额,我不清楚使用哪个API来获取所有地区的价格层。有人可以帮我吗?

文档:https://developer.apple.com/documentation/appstoreconnectapi

解决方法

根据我记得上载订阅应用程序时的印象,我必须首先在该应用程序的开发人员帐户上创建订阅组。

您的操作方式将在安装前向应用收费,并一次性付款。

在“应用内购买”部分中创建一个订阅组。您必须获得每个计划/自动续订订阅的批准。然后为每个计划使用产品ID。

两个好的链接,两个帮助是: https://help.apple.com/app-store-connect/#/dev06f89ce98 https://developer.apple.com/documentation/storekit/in-app_purchase

祝你好运!