How to remove test IAP purchase from Android Google Play

Hypergater picture Hypergater · Dec 29, 2014 · Viewed 13.5k times · Source

I set up a beta account to test IAP for google app that I am working on, the issue I have is, once I have purchased One-time products(non-recurring charge) the test IAP, I cannot 'remove it' as such, so now, even when I delete the app and re-install, it remembers the purchase, that's great in the real world for a user, but not great when trying to fix the bugs!

Is there any way (short of making a ton of gmail accounts to test with) to remove the purchase from the account?

Answer

Bero picture Bero · Aug 29, 2017

This is an old question but if someone is still looking for a solution then go to:

There you can refund / cancel test purchases. Then clear the purchase state using this command:

adb shell pm clear com.android.vending