Detect refunds thorugh Google

Badge +2

How to detect refunds that were made through Google? 

I tried Purchases.getCustomerInfo but this does not get updated. I thought of using Purchases.syncPurchases but the doc says “You should not call this programmatically on every app launch for every user. This can increase latency in your app and can unintentionally alias users together.”

So the solution would be to call it sometimes? Or is there a better way?

3 replies

Userlevel 4
Badge +8

If a refund is granted by Google or initiated through the Google Play console, it will not be detected as a refund in RevenueCat and the subscription will remain active until the end of the current billing period.  For more details, please see our docs for how we handle refunds:

Badge +2

I see, so after the current billing period will Purchases.getCustomerInfo have the updated information that there was a refund? 

Maybe I should have also mentioned that I am talking about a one-time lifelong purchase.

Badge +4

Can you explain why revenuecat cannot detect refunds processed by google?

Is there a workaround?

Can we use the google play billing api directly to determine if user’s subscription expired?