Testing IAP: non-consumable "purchase reset"?

Hi,

Im testing IAP on Google Play.

  1. I purchase a non-consumable item by clicking a button in the app and going through the billing dialogue.
  2. I click the button again. I get error “item already purchased”

How do i reset the “state” to “not purchased”? Possible to do this somewhere in the google play dev console OR possibly by some unity calls to wipe the value on google side?

go to Google Play console and open Order Management tab. There you can refund / cancel test purchases. After you can purchase it back

Bump.

How to clear already-made purchases when testing IAP?

@watcher One can “over consume” the non-consumable by temporarily treating the item as a consumable, in code running the app from that test user’s account, automatically consuming it, then restore the product type to non-consumable in your code.