Search Unity

iOS No Products Found

Discussion in 'Unity IAP' started by Drowning-Monkeys, Nov 14, 2018.

  1. Drowning-Monkeys

    Drowning-Monkeys

    Joined:
    Mar 6, 2013
    Posts:
    328
    Hi guys,

    first off, when loading the game through Xcode or Testflight, the iOSPurchaser gives the following error:
    Code (CSharp):
    1. OnInitializeFailed InitializationFailureReason:NoProductsAvailable
    2. iOSPurchaser:OnInitializeFailed(InitializationFailureReason)
    3. UnityEngine.Purchasing.PurchasingManager:CheckForInitialization()
    4. UnityEngine.Purchasing.PurchasingManager:OnProductsRetrieved(List`1)
    5. UnityEngine.Purchasing.AppleStoreImpl:OnProductsRetrieved(String)
    6. UnityEngine.Purchasing.Extension.UnityUtil:Update()
    Code (CSharp):
    1. UnityIAP: Received 0 products
    2. UnityIAP: No App Receipt found
    3. Unavailable product consumable -consumable
    4. Unavailable product nonconsumable -nonconsumable
    5. Unavailable product subscription -com.unity3d.subscription.new
    Also, before that line I see some other relevant prints:


    so I've read a few posts on the subject and the overwhelming consensus is that usually someone doesn't have their tax info updated. This is not the issue in my case. Everything is correct, and the app is now being downloaded through TestFlight, but the IAP is still in a "Ready to Submit" state. This is because the only way to submit IAP is to submit a final version. There doesn't seem to be a way to do it for a beta.

    So my question is - how can I track down the issue here? What is the issue really? I'm totally befuddled at this point.
     
    Last edited: Nov 14, 2018
  2. Drowning-Monkeys

    Drowning-Monkeys

    Joined:
    Mar 6, 2013
    Posts:
    328
    Okay, update... I wasn't creating a set of strings to add to the builder. Things have changed since the initial tutorial.
     
  3. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Can you point out the tutorial issue that you are referring to? We should update it if it is out of date.
     
  4. Drowning-Monkeys

    Drowning-Monkeys

    Joined:
    Mar 6, 2013
    Posts:
    328
    sure -

    the first place I headed was the tutorial resource page and found this:
    https://unity3d.com/learn/tutorials/topics/ads-analytics/integrating-unity-iap-your-game

    so I copy pasted, and didn't pay much attention to it because it never described the process of actually grabbing IAP's from other sources.

    it wasn't until today that I stumbled upon the Unity IAP Manual here:
    https://docs.unity3d.com/Manual/UnityIAPCodelessIAP.html

    Really all you need is a: "For more information about the Unity IAP Plugin, go here" link and it would all be good.