我如何知道自动续订订阅是否被取消? [英] How Do I know that auto Renewalbe subscription is cancelled or not?

查看:115
本文介绍了我如何知道自动续订订阅是否被取消?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用自动续订订阅在我的应用程序中实现应用内购买,现在我感到困惑的是,我如何知道用户是否取消了自动续订订阅

I am implementing In App purchases in my app ,with auto renewable subscription , Now i am confusing that how i know that when the user is cancelled auto-renewable subscription or not

推荐答案

当用户购买应用内购买的任何订阅时,Apple会为每次购买或交易提供收据.现在,您可以随时使用此收据来验证用户的订阅.当您将此收据传递给Apple服务器时,它将为您提供用户当前的订阅(如果有)以及当前的收据.

When user purchase any subscription using in app purchase, apple provide a Receipt for each purchase or transaction. Now you can anytime verify the subscription of user using this receipt. When you will pass this receipt to apple server it will provide you with the user current subscription (if available) along with the current receipt also.

要了解有关收据验证的更多信息,请通过以下苹果链接.可能会解决您的问题.

For learning more about receipt validation go through this apple link. May be it will solve your issue.

这篇关于我如何知道自动续订订阅是否被取消?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆