queryPurchaseHistory()
was deprecated in Play Billing Library 7. This page
describes the recommended alternatives for use cases your app may have relied on
queryPurchaseHistory()
for.
Process Purchases
To retrieve purchases for processing, use
queryPurchasesAsync(QueryPurchaseParams, PurchasesResponseListener)
.
See the Processing Purchases section of our integration guide for more details.
Handle Voided Purchases
To fetch voided or cancelled purchases, use the voided purchases server developer API.
Track Historical Purchases
If your app would like to track a user's purchase history your app should keep track of the history on your apps backend.