Cancel and refund ALL google play subscriptions

We have an application on the Google Play Store that we will no longer support in the future.

Users were able to buy subscriptions to application content.

We want to cancel all current subscriptions and return users.

Google Play Api developer offers a revoke method that expects information (subscription identifier, token) for one subscription and cancels and refunds this subscription.

We would have to do this for several thousand users (perhaps through a script).

Is there a better way to cancel all subscriptions? Has anyone probably come across a similar scenario?

+4
source share
1 answer

I did not find a way to cancel all subscriptions at once, so I wrote a small program that reads the subscription data from a file and cancels them one by one. You can check it out here: https://github.com/asco33/reimburser

+1
source

Source: https://habr.com/ru/post/1657486/


All Articles