Saturday, 29 September 2018

How to detect refund with google billingclient library

I was wondering how to detect a refund, or any type of cancelation of an in-app purchase(not a subscription and not a consumable).

I'm currently making my test and when I refund a test in google like that :

enter image description here

The purchase is still present in billingClient.queryPurchaseHistoryAsync() (even in queryPurchase()).

How can I detect such changes and how can I disable my app for refunded users?

Thanks in advance.



from How to detect refund with google billingclient library

No comments:

Post a Comment