In-App Billing v3 - Don't detect refund

后端 未结 4 1735
我在风中等你
我在风中等你 2020-12-08 06:53

I\'ve followed the training about \"In-App Billing v3\" of Google. I get to do a buy of a item but I\'ve a problem.

https://developer.android.com/training/in-app-bil

4条回答
  •  悲&欢浪女
    2020-12-08 07:47

    The way I am working around it is with a block of code that ignores the specific purchases I have made. I have a log statement in the code that prints out the purchase info, then I hardcode a list in my app of purchaseTimes to ignore. It is a mess and I have to re-compile every time I want to test, but I haven't found a better way yet.

提交回复
热议问题