androidin-app-billing

Can't re-buy in-app billing item on Google Play after it was refunded


I implemented in-app billing into my app and am now testing its handling of refunds.

I bought my app's managed in-app billing item with a test account and refunded it. My app got the refund broadcast as expected and it sees that the item was refunded when restoring transactions, so everything is good up to that point.

My problem is that I can't re-buy the item to test other scenarios. When I try to purchase the item, the Google Play interface comes up and displays an error message saying "You already own this item." with 2 buttons "OK" and "Details". If I press details, Google Play crashes and I return to my app.

Did anyone have a similar experience? Is it forbidden for a user to purchase an in-app item if they previously had it refunded?


Solution

  • I noticed that by checking the Remove Entitlements field on the refund page, you will be able to re-buy the product outright without waiting as suggested by @joshbodily.

    Remove Entitlements after refunding