Search Unity

[Solved] Unity IAP "NoProductAvailable" error

Discussion in 'Unity IAP' started by androshchuk-vladyslav, Feb 12, 2016.

Thread Status:
Not open for further replies.
  1. androshchuk-vladyslav

    androshchuk-vladyslav

    Joined:
    Dec 13, 2015
    Posts:
    127
    Hi, I add init to my script:

    Code (CSharp):
    1. void InitializePurchasing() {
    2.     var builder = ConfigurationBuilder.Instance(StandardPurchasingModule.Instance());
    3.  
    4.     builder.AddProduct(FULL_VERSION_ID, ProductType.NonConsumable);
    5.  
    6.     UnityPurchasing.Initialize(this, builder);
    7. }
    But when I run it in iOS device i get error: "NoProductAvailable".
    ID is true and registered in iTunesConnect. I tried and new IDS() method.
    I tried to on Dev mode, tried to change id but I have not more power... Help plz!
     
  2. nicholasr

    nicholasr

    Joined:
    Aug 15, 2015
    Posts:
    183
  3. gpaluk

    gpaluk

    Joined:
    Aug 5, 2015
    Posts:
    7
    Hey, could you any of you guys provide me with the StandardPurchasingModule scripts? I have downloaded the example project with IAP (Beta) files, but I can't find any reference to how I would setup an IPuchasingModule for Android and iOS. The lack of real documentation is preventing me from moving forwards, as I'm sure it is for many.

    I am following the tutorial at: https://unity3d.com/learn/tutorials/topics/analytics/integrating-unity-iap-your-game-beta

    Line 51:
    var builder = ConfigurationBuilder.Instance(StandardPurchasingModule.Instance());

    Requires the IPuchasingModule object. There is no code in the tutorial or the file download that is associated with this tutorial.


    Many thanks
     
  4. Banderous

    Banderous

    Joined:
    Dec 25, 2011
    Posts:
    669
Thread Status:
Not open for further replies.