Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 1.2 KB

unity-iap-setup.md

File metadata and controls

45 lines (27 loc) · 1.2 KB

Unity IAP Setup Guide

Unity In-App Purchasing (IAP) allows developers to add digital purchases to Unity games.

A single Unity project may support in-app purchases on both Android and iOS, but each platform has its own store configuration and testing process.

This guide provides a practical overview of setting up Unity IAP before publishing a mobile game.

Before You Start

Before integrating purchases, prepare the basic product structure for your game.

Common purchase types may include:

  • Consumable products
  • Non-consumable products
  • Subscriptions

Examples include:

  • Coins or gems
  • Extra lives
  • Unlockable characters
  • Premium features
  • Remove ads purchases
  • Monthly subscriptions

Decide which products your game will offer before configuring the store.

Install Unity IAP

Open your Unity project and use Unity's package management tools to install the In-App Purchasing package.

Depending on your Unity version, the exact workflow may vary.

After installation, make sure the package is available in your project before implementing purchase functionality.

Create Product IDs

Each purchasable item needs a unique product identifier.

Example:

com.yourcompany.yourgame.removeads