Search Unity

UnityIAP - PurchasingUnavailable

Discussion in 'Unity IAP' started by ncortesp, Jul 11, 2018.

  1. ncortesp

    ncortesp

    Joined:
    Oct 28, 2016
    Posts:
    42
    Hey community,

    I'm trying to retrieve all the product prices from the stores in order to show the correct value for each product and country since we are currently working worldwide, the problem is that It just works if I'm logged with an Android account, otherwise It fails Initializing -> which doesn't provide me the IStoreController, so I can't retrieve the product values and show them in the shop.

    How may I fix this?

    Greetings,
    Nacho.
     
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    @icortesp Yes, you need to be logged into a valid Google account (on Android) and iTunes account (on iOS). Google and Apple do the IAP transactions and billing and need to know who you are to securely access your payment methods for purchases. Hopefully I understood your question correctly. We also support the Xiaomi, Facebook and Windows Stores, but they too require a user account login.