gpt4 book ai didi

ios - 处理自动续订订阅 iOS SDK

转载 作者:可可西里 更新时间:2023-11-01 05:52:27 25 4
gpt4 key购买 nike

我正在开发一个需要每月自动续订订阅的应用程序,我想在登录我的应用程序的每个用户的基础上维护它。在应用程序内购买是否有可能。另外我们如何处理订阅的取消?我想在我自己的服务器上维护所有这些。

最佳答案

StoreKit documentation ,它在取消部分提到:

A subscription is paid for in full when it’s purchased and can be refunded only by contacting Apple customer service. For example, if the user accidentally buys the wrong product, customer support can cancel the subscription and issue a refund. It’s not possible for customers to change their mind in the middle of a subscription period and decide they don’t want to pay for the rest of the subscription.

To check whether a purchase has been canceled, look for the Cancellation Date field in the receipt. If the field has a date in it, regardless of the subscription’s expiration date, the purchase has been canceled—treat a canceled receipt the same as if no purchase had ever been made.

Depending on the type of product, you may be able to check only the currently active subscription, or you may need to check all past subscriptions. For example, a magazine app would need to check all past subscriptions to determine which issues the user had access to.

请记住,用户可以 cancel the subscription anytime without opening your App .因此,每次用户登录您的应用时,您都必须检查订阅状态。

关于ios - 处理自动续订订阅 iOS SDK,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29741401/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com