title: How to get the currency of an in-app purchase product on Windows Phone 8?
body: <p>To track in-app purchases made with our Windows Phone 8 applications, we would like to know in which currency the purchases are made from inside the application. Right now we know the price using the FormattedPrice property, like so:</p>
  
  <pre><code>public static async void LoadProductListing()
  {
      ListingInformation listings = await CurrentApp.LoadListingInformationAsync();
      ProductListing product = listings.ProductListings["SomeProductID"];
  
      String price = product.FormattedPrice;
  }
  </code></pre>
  
  <p>This results in a price formatted with only a sign like <code>€0,99</code> or <code>$0.99</code>. For <code>€</code> this is fine, for e.g. <code>$</code> this is not enough information: we still don't know whether it's US dollar, Canadian dollar, Australian dollar, or Chilean Peso (which sign is also $). We would like to have this information with a proper <a href="http://en.wikipedia.org/wiki/ISO_4217">ISO 4217</a> currency code (like <code>EUR</code>, <code>USD</code>, <code>CAD</code>, <code>AUD</code>, <code>CLP</code>) or at least a symbol that explains the exact currency (like <code>US$</code>, <code>C$</code>, etc).</p>
  
  <p>On Windows 8 it is possible to use the <code>ListingInformation.CurrentMarket</code> property to get the locale of the current market (and thus the currency used), however there is a remark in the documentation:</p>
  
  <pre><code>Windows Phone 8
  This API is not implemented and will throw an exception if called.
  </code></pre>
  
  <p>We recon using the system locale is not precise enough: it might not be the same as the locale used for the current market (but we could be wrong there!).</p>
  
  <p>Is there any way to properly determine the in-app purchase currency from within a Windows Phone 8 application?</p>