使用旧的令牌查询谷歌Play开发者API中Purchases.subscriptions [英] Using an old token to query Purchases.subscriptions in the Google Play Developer API

查看:282
本文介绍了使用旧的令牌查询谷歌Play开发者API中Purchases.subscriptions的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

让我们说我有免于当用户购买通过谷歌的自动续订订阅播放令牌。当订阅自动续订,我还可以使用旧的,最初的令牌来获取订阅的当前状态(通过的 Purchases.subscriptions:获得

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.

这篇关于使用旧的令牌查询谷歌Play开发者API中Purchases.subscriptions的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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