question

MochiBits avatar image
MochiBits asked

Currency identifier.

Does the API return the regional currency prefix when you query .getPrice()? It didn't do that when I was using the tester .apk, but that could be because I didn't input it into the json.
iap
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Samuel@Amazon avatar image
Samuel@Amazon answered
Yes, the getPrice() returns the value with currency code. You need to parse the result to get the Currency value. The intent is to allow the developer to display the price in the store's locale-appropriate format without having to determine it in code.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.