Reputation: 2257
I need to query for pending purchases when my Android app launches so they can be processed by our server. I'm currently using BillingClient.queryPurchaseHistoryAsync() to do this and it's working fine.
However, queryPurchaseHistoryAsync has been deprecated and Google recommends using BillingClient.queryPurchasesAsync() instead. Unfortunately that call doesn't return purchases that are in the PENDING state, presumably because it's only using the local cache and PENDING state is only known by the Play Store server.
So my question is how do I retrieve all PENDING purchases now, without relying on a deprecated call?
Upvotes: 0
Views: 56