如何在 iOS 应用中设置 In App Purchase 免费试用期

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12297342/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-30 20:01:06  来源:igfitidea点击:

How to set-up In App Purchase free trial period in iOS app

iosin-app-purchase

提问by lef

In Apple's AppStore Terms & Conditions, you may find the following statement in relation to Auto-renewable In App Purchases:

在 Apple 的 AppStore 条款和条件中,您可能会发现以下有关自动更新应用内购买的声明:

"Certain paid In App Subscriptions may offer a free trial period prior to charging your Account."

“某些付费应用内订阅可能会在向您的帐户收费之前提供免费试用期。”

How does it work? I haven't seen any option to allow such free trial period for my Auto-renewable IAPs in iTunes Connect.

它是如何工作的?我在 iTunes Connect 中没有看到任何选项允许我的自动更新 IAP 有这样的免费试用期。

回答by Abhijith

As of October 2019, follow this :

截至2019 年 10 月,请遵循以下步骤:

In iTunes, Select My apps --> features --> In-app purchases

在 iTunes 中,选择我的应用程序 --> 功能 --> 应用程序内购买

  1. Click on Product ID
  2. Subscription Prices
  3. Create introductory offer
  4. Select territory
  5. Choose start and End date. Select today's date and No end date if it's Free Trial.
  6. Select type (Trial) and duration of trial.
  1. 点击产品编号
  2. 订阅价格
  3. 创建介绍性优惠
  4. 选择领土
  5. 选择开始和结束日期。如果是免费试用,请选择今天的日期和无结束日期。
  6. 选择类型(试用)和试用期。

During receipt validation in server side, you can check for is_trial_periodto determine if it is in Trial.

在服务器端的收据验证期间,您可以检查is_trial_period以确定它是否在 Trial 中。

https://developer.apple.com/documentation/storekit/in-app_purchase/implementing_introductory_offers_in_your_app

https://developer.apple.com/documentation/storekit/in-app_purchase/implementing_introductory_offers_in_your_app

回答by zvi

Five years later - Apple has changed the way you offer free trial for users. source: https://itunespartner.apple.com/en/apps/news/4406427

五年后 -​​ Apple 改变了您为用户提供免费试用的方式。来源:https: //itunespartner.apple.com/en/apps/news/4406427

From now it's under "introductory price", see here for more details: https://help.apple.com/itunes-connect/developer/#/deve1d49254fSelect Set Up Introductory Price

从现在开始它在“介绍价格”下,请参阅此处了解更多详细信息:https: //help.apple.com/itunes-connect/developer/#/deve1d49254f选择设置介绍价

Update 3/2020: now it's called "Create Introductory Offer" update for

2020 年 3 月更新:现在称为“创建介绍性优惠” 更新为

回答by dengST30

Works for 2020.03.16

适用于 2020.03.16

8 steps in detail

8个步骤详解

Firstly, your products should be approved.

首先,您的产品应该得到批准。

1

1

0

0

2

2

1

1

3

3

2

2

4

4

3

3

5

5

4

4

6

6

5

5

7

7

6

6

8

8

7

7

And you got

你有

8

8

After several hours, it works

几个小时后,它起作用了

回答by Joseph Chen

After you log in to iTunesConnect...

登录 iTunesConnect 后...

  • Select Manage Your Apps.
  • 选择管理您的应用程序。

Manage Your Apps

管理您的应用程序

  • Select your app.
  • Select Manage In-App Purchases.
  • 选择您的应用。
  • 选择管理应用内购买。

Manage In-App Purchases

管理应用内购买

  • Select the subscription family you want to add a free trial to.
  • Select a duration.
  • 选择要添加免费试用的订阅系列。
  • 选择持续时间。

Durations

持续时间

  • Set Offer a free trial? to Yes.
  • Select free trial duration.
  • 设置 提供免费试用?是的。
  • 选择免费试用期。

enter image description here

在此处输入图片说明

回答by hfossli

In iTunes Connect

在 iTunes 连接中

App > Manage In App Purchases > Subscription Basic > 1 Month > Offer a free trial?

应用 > 管理应用内购买 > 基本订阅 > 1 个月 > 提供免费试用?