ios內(nèi)購(gòu)被拒-vip包月服務(wù)

參考:內(nèi)購(gòu)功能開(kāi)發(fā)
參考:消耗型內(nèi)購(gòu)被拒總結(jié)

2018年9月8日
還是同樣原因被拒
1.說(shuō)明不單單是人民幣的問(wèn)題,
根本原因是 vip充值需要用 非續(xù)訂訂閱類型的內(nèi)購(gòu)

修改方法:
1.蘋(píng)果后臺(tái)添加非續(xù)期訂閱類型商品
vip1月40 org.bozhong.nursning.vip1.40
40元1個(gè)月會(huì)員 消費(fèi)40元獲取30天會(huì)員
vip6月198 org.bozhong.nursning.vip6.198
198元6個(gè)月會(huì)員 消費(fèi)198元獲取180天會(huì)員
vip12月318 org.bozhong.nursning.vip12.318
318元12個(gè)月會(huì)員 消費(fèi)318元獲取360天會(huì)員

image.png

注意代碼包沒(méi)提交,就提交內(nèi)購(gòu)項(xiàng)目,可能會(huì)被拒 「列表顯示需要開(kāi)發(fā)人員處理」;【等代碼包提交了,在修改內(nèi)購(gòu)商品屬性即可】


image.png

紅色說(shuō)明有問(wèn)題,修改下描述


image.png

第二次提交vip版本(將vip商品也走內(nèi)購(gòu)流程),其他完全參照消耗型內(nèi)購(gòu)實(shí)行

- (void)activateVipBtnClick{

    NSString *commodityId  = _[vipModel.commodityId;](http://vipModel.commodityId;)

    NSString *IAP_ID;

    NSInteger i = _selectedBtn.tag - tag_begin_index;

    if (i == 0) {

        IAP_ID = kProductID_IAP_VIP1_40;

    }else if (i == 1){

        IAP_ID = kProductID_IAP_VIP6_198;

    }else if (i == 2){

        IAP_ID = kProductID_IAP_VIP12_318;

    }

    if (IAP_ID.length > 0) {

        [PayCenter sharedPayCenter].hud = [MBProgressHUD showHUDAddedTo:self.view animated:YES];

        [[PayCenter sharedPayCenter] payVipItem:IAP_ID dataDic:@{@"accountId":NurseId, @"commodityId":commodityId}];

    }

}

- (void)payVipItem:(NSString *)IAP_ID dataDic:(NSDictionary *)dataDic{
    
    NSString *commodityId = dataDic[@"commodityId"] ?: @"";
    //走內(nèi)購(gòu)創(chuàng)建訂單接口 還是vip創(chuàng)建訂單接口
    NSDictionary *parameter = @{@"accountId":NurseId,
                                @"productId":commodityId};
    WS(weakSelf);
    [Request requestPOST:parameter view:nil urlPre:TradeCenterURL funItem:HuFuncItem_vipTrade_createOrder success:^(NSDictionary *dic) {
        weakSelf.orderFromId = [orderFromModel mj_objectWithKeyValues:dic[@"data"]].orderFromId;
        if ([SKPaymentQueue canMakePayments]  && IAP_ID.length > 0) {
            NSArray *product = [[NSArray alloc] initWithObjects:IAP_ID, nil];
            NSSet *nsSet = [NSSet setWithArray:product];
            SKProductsRequest *request = [[SKProductsRequest alloc] initWithProductIdentifiers:nsSet];
            request.delegate = self;
            [request start];
        } else {
            UIAlertView *alerView = [[UIAlertView alloc] initWithTitle:@"提示"
                                                               message:@"您的手機(jī)沒(méi)有打開(kāi)程序內(nèi)付費(fèi)購(gòu)買(mǎi)"
                                                              delegate:nil
                                                     cancelButtonTitle:@"取消"
                                                     otherButtonTitles:nil];
            [alerView show];
        }
    } error:^(NSDictionary *dic) {
        [MBProgressHUD showError:dic[@"errMsg"]];
    } failure:^{
        [MBProgressHUD showError:@"服務(wù)器開(kāi)小差了,請(qǐng)稍后再試"];
    }];
}

效果:


image.png

2018年9月7日
一3.1.1被拒
第一次提交vip版本

Guideline 3.1.1 - Business - Payments - In-App Purchase

We noticed that your app is using consumable in-app purchase products as intermediary currency for the exchange of items that function as non-renewing subscriptions.

Next Steps

To resolve this issue, please delete your consumable in-app purchase products, then create separate non-renewing subscription in-app purchase products for each item that the user would have exchanged those consumable products for. This product type matches the usage model for the products you are ultimately selling to your users.

Note: The product type cannot be changed once an in-app purchase product has been created. Therefore, you will need to create a new in-app purchase product with the correct product type.

To create new in-app purchases:

  • Log in to App Store Connect

  • Click on "My Apps"

  • Select your app

  • Click on "Features" to create new in-app purchases

  • Click Save

  • Once you've completed all changes, click the "Submit for Review" button at the top of the App Version Information page.

Resources

More information on in-app purchase product types is available in the In-App Purchase Programming Guide.

image.png

修改:還是用消耗型天使鉆代替,先購(gòu)買(mǎi)天使鉆,在用天使鉆購(gòu)買(mǎi)vip,去掉界面上所有人民幣符號(hào)

如果您發(fā)現(xiàn)本文對(duì)你有所幫助,如果您認(rèn)為其他人也可能受益,請(qǐng)把它分享出去。

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容