How to detect canceled or refunded order for Google in-app billing?
问题 I have red a lot of posts and Google documents, but am still not clear how to tell an in-app purchase has been refunded. I have red carefully In-App Billing v3 - Don't detect refund and Does Google Play In-App Billing Version 3 support refunds?. I believe that I took the following notes from an official Google document a while ago by copy & paste: purchaseState: The purchase state of the order. Possible values are 0 (purchased), 1 (canceled), or 2 (refunded). Now, the official document has