mb12 / marketbilling

Automatically exported from code.google.com/p/marketbilling
0 stars 0 forks source link

cannot find the purchase state of the order by Purchases.products: get method #195

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I refer to this 
link(https://developers.google.com/android-publisher/api-ref/purchases/products/
get) to check the purchase and consumption status of an inapp item.  

The 
doc(https://developers.google.com/android-publisher/api-ref/purchases/products#r
esource) tell us purchaseState should be 0 or 1, but I only get status 0 and 
the error as below:
---------------------------------------
error: {
errors: [
{
domain: "global",
reason: "purchaseTokenNotFound",
message: "The purchase token was not found.",
locationType: "parameter",
location: "token"
}
],
code: 404,
message: "The purchase token was not found."
}
---------------------------------------
I tried to get help from stackoverflow and some developer forum, but nobody can 
tell us why the purchase token was not found.

I hope google developer can tell me the reason and improve documents.

I am looking forward to your reply!

Original issue reported on code.google.com by liuxin...@nibirutech.com on 22 Aug 2014 at 9:53

GoogleCodeExporter commented 8 years ago
I am getting numeric values as purchase token. google please suggest

Original comment by naveenmi...@gmail.com on 8 Sep 2014 at 10:30