Skip to main content
Question

Detect refunds thorugh Google


Forum|alt.badge.img+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?

Forum|alt.badge.img+8
  • RevenueCat Staff
  • May 18, 2023

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: https://www.revenuecat.com/docs/refunds


Forum|alt.badge.img+2
  • New Member
  • May 19, 2023

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.


Forum|alt.badge.img+5
  • New Member
  • November 8, 2023

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?

https://developers.google.com/android-publisher/api-ref/rest/v3/purchases.subscriptionsv2


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings