简体   繁体   English

应用商店拒绝了非消耗性产品的应用

[英]app rejected by app store for non consumable product

We found that while your app offers In-App Purchase(s) that can be restored, it does not include the required "Restore" feature to allow users to restore the previously purchased In-App Purchase(s), as specified in Restoring Transactions section of the In-App Purchase Programming Guide: 我们发现,虽然您的应用提供了可以还原的应用内购买,但它不包含必需的“还原”功能,以允许用户还原先前购买的应用内购买(如还原交易中所指定)应用内购买编程指南部分:

"...if your application supports product types that must be restorable, you must include an interface that allows users to restore these purchases. This interface allows a user to add the product to other devices or, if the original device was wiped, to restore the transaction on the original device." “ ...如果您的应用程序支持必须恢复的产品类型,则必须包括一个允许用户恢复购买的界面。该界面允许用户将产品添加到其他设备,或者如果擦除了原始设备,恢复原始设备上的交易。”

To restore previously purchased In-App Purchase products, it would be appropriate to provide a "Restore" button and initiate the restore process when the "Restore" button is tapped by the user. 要还原以前购买的应用内购买产品,提供一个“还原”按钮并在用户点击“还原”按钮时启动还原过程是适当的。

For more information about restoring transactions and verifying store receipt, please refer to the In-App Purchase Programming Guide. 有关恢复交易和验证商店收据的更多信息,请参阅应用内购买编程指南。

I have used these restore methods: 我使用了以下还原方法:

- (void) restoreTransaction: (SKPaymentTransaction *)transaction {
    [self recordTransaction: transaction]; 
    [self provideContent: transaction.originalTransaction.payment.productIdentifier];
    [[SKPaymentQueue defaultQueue] finishTransaction: transaction]; 
}

- (void)paymentQueue:(SKPaymentQueue *)queue restoreCompletedTransactionsFailedWithError:(NSError *)error;

Please any one tell me what is missing in my interface? 请任何人告诉我界面中缺少什么?

Thanks in advance. 提前致谢。

您需要添加一个恢复购买按钮,这意味着你需要给用户的方式来恢复他们所购买的物品。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM