Search Unity

Which In-App Purchasing is CORRECT?

Discussion in 'Unity IAP' started by drndfx, Jan 21, 2019.

  1. drndfx

    drndfx

    Joined:
    Jul 3, 2013
    Posts:
    89
    Package Manager has In App Purchasing 2.0.3
    Services tab inside Unity has In App Purchasing Import option
    Asset Store has version 1.20.1
    Which one of these is the correct one to use?
     
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    You actually need both, they provide different functions. We are working to improve this.
     
  3. drndfx

    drndfx

    Joined:
    Jul 3, 2013
    Posts:
    89
    Thank you.

    So, you're saying when I start a project I have to have the following:
    1) Package Manager make sure In-App Purchase 2.0.3 is turned on
    2) Services > In App Purchase is turned on and "Import" the packages.
    3) Go to Asset Store and download IAP 1.20.1

    The reason I'm asking is that I want to be absolutely want to be fail proof when I create my IAP based game.
    I spent hours trying to read all the articles, tutorials and creating test projects with turning on/off each IAP packages and downloads.

    As of today, it is very confusing for first time Unity developers how to create IAP based game. It requires a very specific path and almost a luck to get your product to be IAP ready.

    Unity's documentation is all over the place. There's unityads.unity3d.com site and there's the docs.unity3d.com website and then there is unity3d.com/learn/tutorials/topics/ads-analytics/integrating-unity-iap-your-game. Each one of them tells a different story.

    Right now I think I kind of have all IAP packages ready in Plugins folder, fingers crossed. But it was based on trying many times and countlesss hours of research.

    Unity please make the future documentation easy to understand and consistent, not to mention have a one voice.

    Thank you.
     
  4. iMobCoding

    iMobCoding

    Joined:
    Feb 13, 2017
    Posts:
    165
    As far as I know, you need 1) & 2) and import should do 3) for you
     
  5. drndfx

    drndfx

    Joined:
    Jul 3, 2013
    Posts:
    89
    iMobCoding, thank you for your reply.

    I tried steps 1 and 2 on a brand new project and just to see what happens I tried to Import IAP from Asset Store.

    It says the following will be imported

    UnityPurchasing
    Editor
    ObsoleteFilesOrDir.csv
    ObsoleteGUIDs.csv
    UnityIAPInstaller.cs
    UnityChannel.unitypackage
    UnityIAP.unitypackage

    But after I hit Import, it doesn't import anything to Plugins folder.

    So, I guess I'll stick to steps 1 and 2
     
  6. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Yes, you only need steps 1 and 2.