比方说,我已经从用户通过Google Play购买自动续订订阅时保存了令牌。 当该订阅自动续订时,我是否仍然可以使用该较旧的初始令牌来获取该订阅的当前状态(通过Purchases.subscriptions:get )?
Let's say I have saved the token from when a user has purchased an automatically renewing subscription via Google Play. When that subscription is automatically renewed, can I still use that older, initial token to get the current status of that subscription (via Purchases.subscriptions: get)?
最满意答案
是的你可以。 该令牌不会改变。 您将在您的请求中传递该令牌以确定订阅是否已更新。 确保你不会失去这个标记,否则如果用户更新或者没有更新,这将是一场噩梦。
Yes, you can. That token does not change. You will pass this token in your request to find out if the subscription has renewed or not. Make sure you do not lose that token otherwise it will be a nightmare to figure out if the user has renewed or not.
更多推荐
发布评论