question

jamiehumphries89 avatar image
jamiehumphries89 asked

[Adobe AIR plug-in] AmazonItemData.price does not include currency symbol

I have added the In-App Purchasing AIR native extension to my AIR project. Mostly this has worked perfectly, but I have a question about the price string in the item data retrieved from AmazonPurchase.loadtemData(sku:String). After calling this method you receive an AmazonItemData object which includes a price string property. Running against the SDK tester, this string does not include a currency symbol (£, $, €). Is this the expected behaviour for the tester? Will it be any different when running live apps? If the price string is not expected to include a currency symbol, is it possible to find which currency the product is being sold in any other way? Thanks, Jamie
iap
10 |5000 characters needed characters left characters exceeded

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

Sachin@Amazon avatar image
Sachin@Amazon answered
Hi Jamie, Thank you for your post. We are currently looking into your issue and will get back to you once we have an update.
10 |5000 characters needed characters left characters exceeded

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

Sachin@Amazon avatar image
Sachin@Amazon answered
Hi Jamie, The SDK tester displays the price as provided in the JSON file. Please ensure you enter the price along with the currency symbol in your JSON file for testing purpose. Please find the link to an existing forum post with a similar issue: https://forums.developer.amazon.com/forums/thread.jspa?messageID=890ͺ Hope this helps. Thank You.
10 |5000 characters needed characters left characters exceeded

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

jamiehumphries89 avatar image
jamiehumphries89 answered
Hi Sachin, Thanks for this. That helps to some extent, but there is a different issue now. If I put my price in the JSON file as "£1.99" when I proceed with the purchase, the Amazon purchasing dialog says that the price is "$ £1.99". It just appears to put the price from the JSON file into the dialog as a string after a "$" symbol. What I really need to know is what behaviour to expect inon the live environment - I'm not so worried about the quirks of testing! Will there be a currency symbol in the AmazonItemData object or not? Thanks, Jamie
10 |5000 characters needed characters left characters exceeded

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

Sachin@Amazon avatar image
Sachin@Amazon answered
Hi Jamie, In live environment price will be returned along with the currency symbol.
10 |5000 characters needed characters left characters exceeded

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

jamiehumphries89 avatar image
jamiehumphries89 answered
Awesome, thanks :) Jamie
10 |5000 characters needed characters left characters exceeded

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

Sachin@Amazon avatar image
Sachin@Amazon answered
You are welcome :)
10 |5000 characters needed characters left characters exceeded

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