Restore transaction inapp purchase android

2019-01-25 19:15发布

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条回答
Summer. ? 凉城
2楼-- · 2019-01-25 19:50

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.

查看更多
登录 后发表回答