TheCodez / Google-IAP-Library

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

Product.getPrice() returns 0.0 #204

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
STEPS TO REPRODUCE:
1. Have Product in Google Play Store with a valid price ($14.99)
2. Change device Language to something other than English (German)
3. Query Google Play Subscription Products.

EXPECTED OUTPUT:
Product.getPrice() to return the valid Double price based on Locale 14.99
Product.getPriceString() to return the valid String representation of price 
based on Locale "14.99 €"

ACTUAL OUTPUT:
Product.getPrice() returns 0.0
Product.getPriceString returns "14,99 $"

OS VERSION:
Android 4.3

MARKET/MYAPPS VERSION:
Google Play Store: DocuSign

DEVICE:
Samsung Galaxy S4

NOTES:
This could be an issue with device Local and Country code or some sort of 
conversion on Google's side. 

Original issue reported on code.google.com by abea...@gmail.com on 3 Feb 2015 at 5:03