Are there any libraries to implement In-app purchases in iOS - Swift

Discussion in 'iOS Programming' started by fstigre, Aug 10, 2016.

  1. fstigre macrumors regular

    fstigre

    Joined:
    Aug 12, 2008
    #1
    I have seen a few online tutorials about in-app purchases and I noticed that they all used different techniques and some of them are incomplete (no restore option, no receipt verification), and since this is a very important process where money is involved I'm afraid to implement my own incomplete-process and end it up with more issues than benefits so, I was wondering if there are any libraries that I could use/buy to implement this process, something created by someone with more experience.

    1- How are you currently managing in-app purchases, do you use a special library ?

    2- Is there a cocoapod or a helper class that could make this process easier?

    3- Is there a tutorial/book that you would recommend?


    Thanks
     
  2. AxoNeuron macrumors 65816

    AxoNeuron

    Joined:
    Apr 22, 2012
    Location:
    The Left Coast
    #2
    It really depends, what kind of transactions are you looking to support?
     
  3. fstigre thread starter macrumors regular

    fstigre

    Joined:
    Aug 12, 2008
    #3
    This would be for a non-consumable in-app purchase. Thanks
     
  4. rasterzone macrumors newbie

    rasterzone

    Joined:
    Aug 6, 2016
    Location:
    Michigan, U.S.
    #4
    I recommend this tutorial: https://www.raywenderlich.com/122144/in-app-purchase-tutorial
    It worked great for me so I integrated the helper code into my app. It covers restoring purchases, but not validating receipts.
    The site has lots of other useful tutorials if you're just starting out. Hope this helps!

    -Alan
     

Share This Page