恢复交易inapp购买机器人 [英] Restore transaction inapp purchase android

查看:136
本文介绍了恢复交易inapp购买机器人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何做应用内结算购买的Andr​​oid恢复交易。到目前为止,我已经搜查各个环节。我没有找到确切的infromation。我已经使用 BillingHelper.restoreTransactionInformation(BillingSecurity.generateNonce())但它没有返回值。
谁能帮我走出这个问题。

How to do restore transaction in in-app billing purchase android. So far I have searched in all links. I didn't find exact infromation. I have used BillingHelper.restoreTransactionInformation(BillingSecurity.generateNonce()) but it returns nothing.
Can anyone help me to come out of this problem.

任何帮助将是AP preciated。

Any help would be appreciated.

推荐答案

API的V3不需要再恢复采购。可以直接查询所购买的物品。

The V3 of the api does not require anymore to restore the purchases. Can directly query for purchased items.

请仔细阅读章节查询对采购物料: <一href="http://developer.android.com/google/play/billing/billing_integrate.html">http://developer.android.com/google/play/billing/billing_integrate.html
而<一href="http://developer.android.com/google/play/billing/billing_reference.html#getPurchases">getPurchases()方法描述。

Please read the section Querying for Purchased Item of: http://developer.android.com/google/play/billing/billing_integrate.html
and the getPurchases() method description.

这篇关于恢复交易inapp购买机器人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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