# Implement In App Purchases

Implements, configures, and debugs Unity In-App Purchases, including subscriptions...

- Repository: https://github.com/Unity-Technologies/skills (1197 stars)
- Category: Engineering
- License: see repository
- Last updated: 2026-10-30
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add Unity-Technologies/skills --skill implement-in-app-purchases -g -a claude-code -y`
Codex: `npx skills add Unity-Technologies/skills --skill implement-in-app-purchases -g -a codex -y`
Cursor: `npx skills add Unity-Technologies/skills --skill implement-in-app-purchases -g -a cursor -y`
Gemini CLI: `npx skills add Unity-Technologies/skills --skill implement-in-app-purchases -g -a gemini-cli -y`

## Description

Implements, configures, and debugs Unity In-App Purchases, including subscriptions, receipt validation, and direct-to-customer payments via Stripe or Coda. Use when asked about real-money purchases or microtransactions, or migrating from native store billing, RevenueCat, Adapty, Essential Kit, or UniPay.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Unity In-App Purchasing

Namespace: `UnityEngine.Purchasing` | Security: `UnityEngine.Purchasing.Security`
Package: `com.unity.purchasing`

**Unity IAP has its own initialization path** via `UnityIAPServices.StoreController()` → `store.Connect()`. It does not require `UnityServices.InitializeAsync()`, but they can coexist if your project uses other UGS services. If Analytics is present and `InitializeAsync()` is called, IAP will automatically send transaction events.

## Before You Start

**Always read [references/pre-check.md](references/pre-check.md) first.** It scans the project for third-party IAP packages, native Google Billing, and existing Unity IAP versions, then routes to the correct path. Do not read any other reference file or make any changes until routing is resolved.

## Detailed References

The rest: https://github.com/Unity-Technologies/skills/blob/HEAD/skills/implement-in-app-purchases/SKILL.md
