How to detect refund with google billingclient library

后端 未结 1 1454
太阳男子
太阳男子 2021-02-13 09:43

I was wondering how to detect a refund, or any type of cancelation of an in-app purchase(not a subscription and not a consumable).

I\'m currently making my test and when

1条回答
  •  悲&欢浪女
    2021-02-13 09:58

    I do understand your concern regarding refunded items.

    If you offer in-app products, you can use the Voided Purchases API to request a list of voided purchases for your in-app products. When a user requests a refund for in-app purchases, you can see what was purchased and take back the refunded digital goods from that user.

    To protect you app from refund abuse please use the Protect your apps from refund abuse help guide, for the best practises in protecting your app’s in-app products.

    0 讨论(0)
提交回复
热议问题