- Home /
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?
Answer by nadh · Sep 06, 2017 at 01:11 PM
go to Google Play console and open Order Management tab. There you can refund / cancel test purchases. After you can purchase it back
Answer by _watcher_ · Jul 11, 2016 at 06:55 PM
Bump.
How to clear already-made purchases when testing IAP?
I think this is what you're after https://docs.unity3d.com/ScriptReference/Purchasing.UnityPurchasing.ClearTransactionLog.html
Answer by nicholasr · Jul 25, 2016 at 11:02 PM
@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.
Your answer
Follow this Question
Related Questions
In-app purchase "Invalid product" on Mac Store build 0 Answers
Force reset static variable 1 Answer
Custom WindowEditor, but variable sets back to 0 when hit Play 1 Answer
Int Value Keeps Growing and Reseting it under Start Function Isn't working 0 Answers
Lean Joystick gets stuck on disable 0 Answers