Android In-App Billing: Purchase state stays “purchased” after order cancelation

前端 未结 9 2479
余生分开走
余生分开走 2020-12-23 19:36

I\'m currently testing my InApp billing mechanism (using the InApp Billing version 3 API, therefore taking the TrivialDrive example as reference).

I have one managed

9条回答
  •  粉色の甜心
    2020-12-23 19:54

    I know this is a year old, but none of the answers/tips presented helped me so I thought I would add my solution.

    First, I was experiencing the same issue. Namely, made a test purchase, cancelled it, still received a purchase state indicating valid purchase.

    What I forgot was that I recently switched the 'License Test Response' field on the settings pane of the Google Play Developer Console from 'RESPOND_NORMALLY' to 'LICENSED'

    After switching it back to 'RESPOND_NORMALLY', the purchase state of the cancelled purchase was correctly returned as such.

    So, you might want to check that before you try waiting for days

提交回复
热议问题