locked
How to get the price of the product (In-app-Purchase)

    Question

  • How to get the price of features (in-app-purchase) in a particular currency such as the dollar. Now the market price returns to its current location. For example, if my computer location is Russian the price comes in ruble. I need to get the price in dollars, regardless of location.
    Monday, April 14, 2014 10:08 AM

Answers

  • I call LoadListingInformationAsync, and then get the price from the resulting ListingInformation structure that's returned:

    var liItems = await CurrentApp.LoadListingInformationAsync();

    var Price = liItems.ProductListings["storetoken"].FormattedPrice;


    Darin R.

    Monday, April 14, 2014 6:01 PM