This course is available as part of the raywenderlich.com Professional subscription. To learn more click here

Pro

Jun 14 2022 · Video Course (57 mins) · Intermediate

Updated for 2022! In-App Purchase offers additional revenue streams for developers other than the initial purchase from the App Store.
This can be great for unlocking functionality, providing additional content or for in-game currency.

This course covers the dance with App Store Connect, integration with StoreKit, restoration
of previous purchases and transaction validation, by the end of the series you’ll have
a great understanding of the concepts behind IAP.



Getting Started

Interested in incorporating in-app purchases into your app? This course teaches you how to do just that. Find out what’s involved and what you’ll learn.


Understand the various types that compose the workflow for making in-app purchases.


Learn the differences between a consumable and a non-consumable, and then create one in App Store Connect.


Challenge yourself by adding more in-app purchases to App Store Connect.


Get started adding StoreKit by building the necessary classes you’ll use to talk to it.


Query StoreKit with a list of your in-app purchases and then display them to the end user.


Understand why things go wrong and where to troubleshoot when you don’t receive products from StoreKit.


Process the returned transactions from StoreKit in order to credit purchases to the end user.


Receive a quick review of all the steps and then push that buy button.


Integrate a StoreKit configuration file and create products in Xcode itself.


Review the previous part and receive an overview about the upcoming part.


Managing & Testing Purchases

Gain an understanding of the upcoming topics in this part.


Learn to locally persist a user’s purchases in a secure manner.


Now that you understand non-consumables, it’s time to implement some consumables.


Automate the testing of your purchase flow by way of the StoreKit Configuration file.


Understand the process of responding to refund requests.


Congrats on finishing the course! Review everything you’ve learned, and find out where to go next.


Version history

iOS, Swift 5.6, Xcode 13
(Selected)

Jun 14 2022

macOS 10.14, Swift 4, Xcode 10

Mar 19 2019

iOS 14, Swift 5.3, Xcode 12

Mar 9 2021

iOS 9, Swift 2, Xcode 7

Nov 24 2015

Who is this for?

This course is for intermediate iOS developers who are comfortable with the Swift language, SwiftUI and know their way around Xcode.

Covered concepts

  • Defining your own in-app purchases locally & in App Store Connect
  • Preparing purchases in Xcode
  • Unit testing your purchases
  • Buying & restoring purchases

Contributors

Updated for 2022! In-App Purchase offers additional revenue streams for developers other than the initial purchase from the App Store.
This can be great for unlocking functionality, providing additional content or for in-game currency.
This course covers the dance with App Store Connect, integration with StoreKit, restoration
of previous purchases and transaction validation, by the end of the series you’ll have
a great understanding of the concepts behind IAP.