Google announced in an email to some developers they're dropping orderId for all test (license test) purchases.
Sounds like you and I had the same experience: I never received the email in spite of being a developer on the Play Store for four years. Here's a copy of the email: http://theeye.pe.kr/archives/2716 (discussion in Korean) Nick On Tuesday, July 5, 2016 at 3:29:19 AM UTC-7, [email protected] wrote: > > Literally the same for us. > > On Monday, July 4, 2016 at 5:35:59 PM UTC+2, Ruairi wrote: >> >> 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/5977e193-739c-4c17-8453-db20603b78f0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

