Search code examples
in-app-purchasein-app-billinggoogle-play-developer-apiin-app-subscription

Google Play Subscription Api: How to distinguish between refunded subscription and user-self canceled subscription?


How to distinguish between refunded subscription and user-self canceled subscription?

Both shows Expiring date (expiryTimeMillis) and cancellation date (userCancellationTimeMillis) same.

I did not find a single clue to dissent those from each other, is there any?

Thanks in advance.


Solution

  • The only way to differentiate is keeping a record in the database! I hope google would have a more comprehensive API in the future.