在 App Billing 中,进一步测试

In App Billing, further testing

我正在测试我当前的应用程序,其中包含一些要测试购买的项目。我现在已经这样做了,但我需要对这些项目做进一步的测试。有没有办法简单地 "restore" 这些购买,这样我就不会得到那个错误 "You already own this item" ?

is a way:

Once an in-app product is purchased, it is considered to be "owned". In-app products in the "owned" state cannot be purchased from Google Play. You must send a consumption request for the "owned" in-app product before Google Play makes it available for purchase again. Consuming the in-app product reverts it to the "unowned" state, and discards the previous purchase data.