I am writing a backend service to verify the in-app-purchase made from my android game. I am passing the purchase token to Google Play Android Developer API. The google API document here:https://developers.google.com/android-publisher/v1_1/inapppurchases says the 'consumptionState' returned from the API, may be one of these values:
0 - Consumed
1 - Yet to be consumed**
But from what I have tested, the values returned from the API seemed to be opposite, i.e.
1 - Consumed
0 - Yet to be consume
Can anyone confirm this?
Thanks
I agree with you. Google make a mistake on the document(1).
The right one should be :
1 - Consumed
0 - Yet to be consume
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With