3
votes

I'm testing in-app billing with my own cellphone

I've sucessfully added some acounts to alha track and they can now buy the goods in the test mode.

The thing is due a bug existent in the first alpha version the purchased good wasn't being consumed and now everytime i try to purchage i get

ITEM_ALREADY_OWNED
int ITEM_ALREADY_OWNED
Failure to purchase since item is already owned

reading googles guide about testing in-app billing it says:

Cancel completed test purchases Google Play accumulates completed test purchases for each user, but does not pass them to financial processing.

In some cases, you may want to manually cancel a trial purchase to continue testing. To do so, open the app page in the Play Store. If the test purchase you want to cancel is a subscription, you can also use the cancel () method of the Purchases.subscriptions API.

I do not find an option to cancel the test purchases at googles play page of my app, nor in the console neither in the tester account...

how can i cancel it to keep testing?

1

1 Answers

1
votes

The problem here is that you need to consume the item, instead of cancelling. The item was purchased, and while not consumed you won't be able to buy it again. Please check this answer on how to consume the item. Hope it helps.