Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Jan 13, 2016 · 3 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 26 May 2014 at 2:22

Attachments:

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 12 Jun 2014 at 11:01

@GoogleCodeExporter
Copy link
Author

This seems to have occurred between 20. and 28. May.

Original comment by [email protected] on 13 Jun 2014 at 7:19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant