使用旧的令牌在Google Play开发者API中查询Purchases.subscriptions(Using an old token to query Purchases.subscriptio

编程入门 行业动态 更新时间:2024-10-28 01:15:27
使用旧的令牌在Google Play开发者API中查询Purchases.subscriptions(Using an old token to query Purchases.subscriptions in the Google Play Developer API)

比方说,我已经从用户通过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.

更多推荐

本文发布于:2023-07-22 19:34:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1222800.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:令牌   开发者   Google   Play   API

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!