Skip to main content
skill CX Codex

implement-in-app-purchases — Claude Code skill: setup & use

Configures Unity In-App Purchasing v5, handles receipt validation, and guides migrations from native store billing or third-party SDKs.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add Unity-Technologies/skills --skill implement-in-app-purchases -a claude-code
Open on GitHub

What implement-in-app-purchases does

This skill directs the agent through com.unity.purchasing v5 setup. It prioritizes a preliminary project scan before changing code, which avoids conflicts with existing store implementations, RevenueCat, or UniPay. Store connection runs through UnityIAPServices.StoreController and Connect(). Calling UnityServices.InitializeAsync is not mandatory for IAP, but it runs fine alongside other gaming services.

Purchases follow a strict two-step flow: receive a PendingOrder, grant the item, and trigger ConfirmPurchase. Never skip confirmation. An unconfirmed purchase triggers redelivery on every subsequent application launch. Client-side verification on iOS with StoreKit 2 is a no-op, requiring server-side validation via jwsRepresentation. Integrating direct-to-customer checkouts via Stripe or Coda requires package version 5.4 or higher.

What it helps with

  • implement the two-step purchase flow in Unity IAP v5
  • migrate billing from RevenueCat or native Google BillingClient
  • handle iOS restore transactions for App Store compliance
  • set up server-side receipt validation for StoreKit 2

Example prompts for the agent

  • Set up Unity IAP v5 initialization and event handling using StoreController.
  • Migrate our in-app purchase logic from Adapty to com.unity.purchasing.
  • Help me add an iOS purchase restoration flow with ConfirmPurchase.

How to install implement-in-app-purchases

1Skills CLI (Vercel)

npx skills add Unity-Technologies/skills --skill implement-in-app-purchases -a claude-code

2Manually: put the files in place

~/.claude/skills/implement-in-app-purchases/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/implement-in-app-purchases/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about implement-in-app-purchases

How to install implement-in-app-purchases in Claude Code?

Run npx skills add Unity-Technologies/skills --skill implement-in-app-purchases -a claude-code in your terminal.

What does the implement-in-app-purchases skill do?

It provides architecture patterns for Unity IAP v5, catalog fetching, entitlement tracking, and migrations from native store wrappers or Adapty.

Can I validate iOS receipts locally with StoreKit 2?

Local validation is a no-op under StoreKit 2. You should send order.Info.Apple?.jwsRepresentation to your backend server instead.

Similar skills

Everything for Game dev and 3D: Unity, Unreal, Godot, Blender →

From the same set31

build-live-game Brings Unity Gaming Services into a project: player accounts, cloud saves, leaderboards, Cloud Code and Remote Config. Useful when live-ops features get built inside the Unity Editor. CX Codex +1 6,000installs levelplay-unity-integration Walks the agent through a LevelPlay integration in Unity: Ads Mediation package, Android and iOS dependencies, rewarded, interstitial and banner ads. CX Codex +1 5,900installs urp-postprocessing Walks an agent through URP post-processing with the Volume framework: bloom, tonemapping, color adjustments, depth of field, vignette. Useful when an effect never shows up. CX Codex +1 5,800installs optimize-text-mesh-pro Walks through TextMeshPro problems in Unity: bloated atlases, fuzzy glyphs, CPU spikes on text updates, build size. CX Codex +1 5,700installs shader-graph-create-custom-node Generates custom Shader Graph nodes directly from HLSL functions. It handles reflection markup so Unity registers your shader code in the graph creation menu. CX Codex +1 5,600installs optimize-audio This skill audits Unity audio settings and guides changes for memory use, mixer CPU load, and 3D playback issues. It reports findings before making edits. CX Codex +1 5,600installs sprite-editor Rewrites Unity sprite rects, borders, pivots and slicing by generating C# snippets that run inside a live Editor. CX Codex +1 5,600installs localization Configures the Unity Localization package in your project. It sets up String and Asset Tables, configures locales, and binds text to UI components. CX Codex +1 5,500installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor