Restore transaction inapp purchase android

随声附和 提交于 2019-11-28 01:13:20

问题


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.

Any help would be appreciated.


回答1:


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

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



来源:https://stackoverflow.com/questions/16871115/restore-transaction-inapp-purchase-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!