ios进阶酷

IOS自动续期订阅

2018-12-17  本文已影响290人  LEO_青蛙

问题:

Guideline 3.1.2 - Business - Payments - Subscriptions

We noticed that your app did not fully meet the terms and conditions for auto-renewing subscriptions, as specified in Schedule 2, section 3.8(b) of the Paid Applications agreement.

解决办法:

1、申请“自动续期订阅”计费点

2、添加“自动续期订阅”的道具下发功能

- (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions
{
    for (SKPaymentTransaction *transaction in transactions)
    {
        switch (transaction.transactionState)
        {
            case SKPaymentTransactionStatePurchasing: // 0
                break;
            case SKPaymentTransactionStatePurchased: // 1
                 //订阅特殊处理
                 if(transaction.originalTransaction){
                      //如果是自动续费的订单originalTransaction会有内容 
                 }else{
                      //普通购买,以及 第一次购买 自动订阅
                 }
                break;
            case SKPaymentTransactionStateFailed: // 2
                [self failTracker:transaction];
                break;
            case SKPaymentTransactionStateRestored: // 3
                [self restoreTransaction:transaction];               
                break;
            default:
                break;
        }
    }
}

3、自动续费测试

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

4、在App Store Connect中添加游戏描述,包括“自动续期订阅”计费点的详细介绍
5、“自动续期订阅”计费点在游戏中的详细介绍
(1)内容介绍尽量在面板中全部显示,不能隐藏在下拉面板中。

(2)“用户协议”和“隐私政策”的网址中必须包含链接跳转功能 错误示范1 错误示范2
6、界面中最好显示订阅有效期限的剩余天数 正确示范
上一篇 下一篇

猜你喜欢

热点阅读