gpt4 book ai didi

android - 将应用内结算版本 2 迁移到版本 3 的最佳方法是什么?

转载 作者:太空狗 更新时间:2023-10-29 16:04:53 25 4
gpt4 key购买 nike

我在星期五收到了一封来自 Google 电子钱包的电子邮件,内容是:

Our records indicate you are a Play Apps developer who may be using Google Checkout APIs for notifications or reporting. On May 20, we announced that we will be replacing these APIs.

We provided replacement Play APIs, as of July 25, and anyone using the Checkout >notifications or reporting APIs needs to implement the Play APIs by August 22 to prevent >disruption to your scripts.

If you used the Checkout API for notifications, use the Play Purchase Status API. If you >used the Checkout API for reporting, you can automate the download of your estimated sales >and earning reports via the gsutil utility

我假设我必须使用的 Google Checkout API 与我拥有的应用内结算版本 2 实现相关。它依靠计费服务通过本地通知与 Google Play 商店应用共享进程间通信。所以我认为我应该查看 Play Purchase Status API。我调查了一下,但我想知道是否有任何教程或更好的文档来说明从旧的应用内结算版本 2 过渡到使用新的 Google Play Developer API 的过程。

Play 购买状态 API 页面指出:

The API is designed to be used from your backend servers as a way of securely managing in-app products and subscriptions, as well as extending and integrating them with other services.

这确实让我更加困惑,因为所有购买请求和 token 都由设备上的 Android 应用程序处理。我的后端服务器只记录我的应用程序通过网络服务调用发送给它的信息。我的后端服务器现在是否需要通过 Play Purchase Status API 定期轮询 Google 电子钱包服务器?

最佳答案

谷歌现在已经发出电子邮件,是的,他们正在关闭应用内结算的 V2。我写了一篇讨论如何迁移的博文(与其说是迁移,不如说是重写)。

http://www.innodroid.com/blog/post/migrating-from-in-app-billing-v2-to-v3

希望这能帮助其他人。 V3 完全不同(尽管在我看来更容易理解和维护)。

关于android - 将应用内结算版本 2 迁移到版本 3 的最佳方法是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18434923/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com