如果用户切换 'Off' 自动更新应用内购买,通知应用服务器

Notify App Server if user Toggles 'Off' an Auto Renewable In App Purchase

应用内购买自动更新,如果用户切换关闭 ,如何通知应用的服务器设置中的自动续订 按钮?

您应用的服务器仅从 Apple API 接收有关上次付款的信息。

如果用户将自动续订切换为关闭,它不会反映在API中.

因此,开发人员无法确定自动续订订阅何时结束,直到它真正结束。

此外,您无需在订阅期结束前手动撤销该功能,因为用户已经支付了订阅期的费用。

只有当您需要跨平台同步功能时(跨 Web browser/mobile App/Desktop 具有相同帐户的应用程序),您可能需要手动撤销它。

Cross-Platform Considerations

Product identifiers are associated with a single app. Apps that have both an iOS and OS X version have separate products with separate product identifiers on each platform. You could let users who have a subscription in an iOS app access the content from an OS X app (or vice versa), but implementing that functionality is your responsibility. You would need some system for identifying users and keeping track of what content they’ve subscribed to, similar to what you would implement for an app that uses non-renewable subscriptions.

https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/StoreKitGuide/Chapters/Subscriptions.html