gpt4 book ai didi

android - Google Play 结算(测试模式): why my purchase is automatically canceled

转载 作者:行者123 更新时间:2023-11-29 22:51:23 25 4
gpt4 key购买 nike

我遵循了 Google 开发者文档中的所有最佳实践:https://developer.android.com/google/play/billing/billing_library_overview

我将我的应用推送到 Beta 测试模式。一切正常,除了每次我进行应用内(或订阅)购买时,我都会收到一封电子邮件(购买确认,好的),然后 5-6 分钟后我会收到另一封电子邮件(总是来自谷歌),通知我的购买已经完成被取消了……

我不想自动取消。为什么是这个过程?

非常感谢你们!

最佳答案

Check out this doc

当您在 onPurchasesUpdated 上获得 purchase.purchaseState === Purchase.PurchaseState.PURCHASED 时,您必须调用 billingClient.acknowledgePurchase() 方法回调,否则您购买的商品将自动退款/取消。

Further reference

关于android - Google Play 结算(测试模式): why my purchase is automatically canceled,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57869868/

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