Chapter 11. Implementing In-App Purchases
In-App Purchase is an optional feature that developers can use to embed a store directly within an app. Sometimes, you may want to extend some features in your current game to keep your consumers interested in playing. Here's your chance, and possibly, more revenue in your pocket!
This chapter is only concerned with In-App Purchases in the Apple iTunes Store for the iOS platform. Android developers who want to implement In-App Purchases in their apps can refer to for reference. The set up for In-App Purchase is done in a similar fashion for iOS and Android. There are, however, some differences that need to be set up in your build.settings
file and code.
Note
The application interface used here is frequently updated. However, you will be able to perform all the steps irrespective of the interface you're using.
We'll cover the following in this chapter:
Consumable, nonconsumable, and subscription purchases
Making transactions
Restoring purchased items
Initializing...