Google Play结算库在购买交易失败或取消时不会发出orderId,但它会在控制台中显示

问题描述 投票:1回答:1

我已将Play Billing Library集成到我的Android应用程序中。即使某些事务失败或用户取消它,我也需要获取orderId。

public void onPurchasesUpdated(int resultCode, List<Purchase> purchases)

上面的方法只返回带有购买的resultCode作为失败/取消情况下的空值。

但是在游戏机中,我能够看到购买订单,时间等:https://play.google.com/apps/publish/?account=xxxxxx#OrderManagementPlace

有人可以帮助我如何获得orderID字段?

android in-app-purchase play-billing-library
1个回答
0
投票

这似乎是一个错误,目前没有解决方案:https://issuetracker.google.com/issues/112749359

© www.soinside.com 2019 - 2024. All rights reserved.