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

前端 未结 9 2489
余生分开走
余生分开走 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 20:16

    What you can use is the autoRenewing field of the purchase data. According to the documentation:

    autoRenewing: Indicates whether the subscription renews automatically. If true, the subscription is active, and will automatically renew on the next billing date. If false, indicates that the user has canceled the subscription.

    And this field get updated immediately after the cancellation.

提交回复
热议问题