Search Unity

Resolved LocalizedPriceString is incorrect in Sandbox and TestFlight environments

Discussion in 'Unity IAP' started by unity_yi7IFEzuEZ8s4Q, Nov 8, 2022.

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

    unity_yi7IFEzuEZ8s4Q

    Joined:
    Feb 25, 2021
    Posts:
    2
    We've noticed that in Sandbox and TestFlight environments, the prices displayed using Product.metadata.localizedPriceString on in app purchase buttons are incorrect and differ from the prices listed in AppstoreConnect and displayed by Apple after clicking said buttons.
    The problem does not occur in Production environments.

    > Versions
    Unity 2020.3.39f1
    In App Purchasing 4.5.1
     

    Attached Files:

  2. AytoMaximo

    AytoMaximo

    Joined:
    Aug 26, 2015
    Posts:
    76
    Hi! As I know, it's a TestFlight bug.
     
  3. Yannick_D

    Yannick_D

    Unity Technologies

    Joined:
    Feb 21, 2022
    Posts:
    235
    Hello,

    On the IAP side, we fill this value with the price Apple returns when retrieving localized information for each products.
    It seems there's a bug on their end for Sandbox and TestFlight where that value isn't accurate, so we will have to wait for them to correct this.
     
  4. unity_yi7IFEzuEZ8s4Q

    unity_yi7IFEzuEZ8s4Q

    Joined:
    Feb 25, 2021
    Posts:
    2
    I see, thank you both, hopefully this gets resolved on Apple's side soon.
     
  5. Arnaud_Gorain

    Arnaud_Gorain

    Unity Technologies

    Joined:
    Jun 28, 2022
    Posts:
    183
    This thread is now closed. Feel free to reach out via a new thread if you encounter further issue.
    Thanks!
     
Thread Status:
Not open for further replies.