skbhati199 / marketbilling

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

In-app subscription orderId returned from getPurchases has trailing period #188

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
STEPS TO REPRODUCE:
1. Store the INAPP_PURCHASE_DATA JSON returned by the onActivityResult of a 
BuyIntent for an in-app subscription
2. Retrieve the data for the same purchase using billingService.getPurchases
3. Compare the orderId values, the one from getPurchases includes a trailing 
period character

EXPECTED OUTPUT (Redacted):

This is the JSON from the purchase

{"orderId":"1299XXXXXXXX54705758.1364979558026659","packageName":"net.bigtweets.
android","productId":"plussubscription","purchaseTime":1400810347601,"purchaseSt
ate":0,"developerPayload":"BigTweets-plussubscription-2421008520-Joe 
TesterOne","purchaseToken":"kbngjkkmlebgpekknflllimn.AO-J1OzbtUn07gGh3ADTGMLOj-x
42Ma3BYxy-ij_lcaXjeXdph8O8EL-NdBZY0mkKsf_1QeWJu8506ESXXXXXXXXXXXXXXXXXXXXWeBAtUM
AjePYUbCojZ9FPx_mCJL-PGwcf6WyLxqZ"}

ACTUAL OUTPUT:
See attached, redacted screen shot of LogCat output from app's call to 
billingService.getPurchases. Notice there is a trailing period on the orderId.

AFFECTED ORDER IDS (IF RELEVANT):
12999763169054705758.1364979558026659

OS VERSION:
4.0.3

DEVICE:
Galaxy S III

Original issue reported on code.google.com by p...@bigsocial.tv on 26 May 2014 at 2:22

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
We can confirm the same issue but we cannot say on which App versions or 
devices it occurs. We have about 1500 incidents starting from mid of May. This 
is giving us a headache because it screws with our analytics and backend.

The dotted string does not match the documented format given by 
http://developer.android.com/google/play/billing/billing_reference.html.

Please let us know how you will proceed with this or fix the code if this a bug 
or amend the documentation and tell us what this behaviour means.

Original comment by jsa...@babbel.com on 12 Jun 2014 at 11:01

GoogleCodeExporter commented 8 years ago
This seems to have occurred between 20. and 28. May.

Original comment by jsa...@babbel.com on 13 Jun 2014 at 7:19