how to cancel an in-app test purchase on android?

前端 未结 9 513
眼角桃花
眼角桃花 2020-12-14 14:43

Until june 20th 2016 i was able to cancel test purchases done in my app. Doing multiple in-app purchases (not consumable) from the same test account made it easy to develop

9条回答
  •  心在旅途
    2020-12-14 15:23

    What worked for me was a combination of both:

    • Go to order management and refund
    • clear cache/data in Play Store app (as well as your app in you placed some shared prefs).

    Also, in case you get an item already owned status, you can consume the purchase using the purchase token and calling billingClient.consumeAsync().

提交回复
热议问题