Search Unity

[Closed] localizedPrice is always 0 and currency is USD on Windows Phone

Discussion in 'Unity IAP' started by vivalavladislav, Dec 18, 2017.

Thread Status:
Not open for further replies.
  1. vivalavladislav

    vivalavladislav

    Joined:
    Sep 12, 2013
    Posts:
    16
    Hi guys,

    After playing with variables in Product.metadata.localizedPriceString, Product.metadata.localizedPrice, Product.metadata.isoCurrencyCode, they work fine on iOS and Android - real prices and real currencies. But Windows Phone shows completely different picture

    currency code is always USD(actually EUR), localizedPrice is always 0, while localicalizedPriceString is correct(eg. "1.99 EUR").

    Have anybody faced the same issues? Any points on how to fix that?

    Best regards everybody,
    Vlad
     

    Attached Files:

  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    @vivalavladislav What country/locale are you testing in? I will check with the IAP team here on your issue, and will keep you updated.
     
  3. vivalavladislav

    vivalavladislav

    Joined:
    Sep 12, 2013
    Posts:
    16
    Win 10 mobile, Region: Estonia, currency in settings : $, currency in microsoft store: EUR
    Thanks, waiting for your reply
     
  4. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Would you know the decimal separator that is expected in this locale? Comma or a period
     
  5. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    I checked with the IAP team here, and they mentioned that they will consider this fix for inclusion in a future release, no ETA at this time however.
     
  6. vivalavladislav

    vivalavladislav

    Joined:
    Sep 12, 2013
    Posts:
    16
    Will be waiting for a fix then.
    So do you still need the separator?
     
  7. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
Thread Status:
Not open for further replies.