Recently had issues testing purchases with in app billing on android. It
appears I am missing "orderID" in the response Json after making the test
purchase on my device (see below).
*I've removed the name and id and token from the string below to hide
information *
{"packageName":" ","productId":"","purchaseTime":1467378551643,
"purchaseState":0,"developerPayload":"developerPayloadString",
"purchaseToken":" "}
There have been no changes for at least a year to the purchasing code.
However only recently the test purchase method I have been following has
stopped working. This is due to the orderID missing from the receipt so it
fails when I attempt to validate this receipt.
Looking at the android
documentation
https://developer.android.com/google/play/billing/billing_testing.html
it does state that for test purchases the order id will always be blank.
However the code I have been using to test for the last year+ has always
assumed I need a order id in the response which is what I find so baffling.
Can anyone confirm if google have made any recent changes or is seeing a
similar issue of missing the order id when doing there test purchases?
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-developers/a3f601a3-09fd-497e-a64e-7dc6faf9c51b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.