Agent skill · Audited from source
implement-in-app-purchases
skill · unity-technologies/skillsNOASSERTION licenceAudited 21 Oct 2026 · source 088088af666d
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 088088af666d and found no filesystem, network or shell access and no hard-coded secrets. What it does: 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,…
Cite
Cite this page
ModelsAtlas. “implement-in-app-purchases (unity-technologies/skills)”. Retrieved 21 Oct 2026. https://modelsatlas.com/skills/unity-technologies/implement-in-app-purchases
Trust audit
Audit 0.4.1 · source read 21 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 13,985 of 14,816 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha 088088af666d · 21 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherunity-technologies GitHub organizationOwner of the repository this skill is read from
- Source folderunity-technologies/skills/skills/implement-in-app-purchasesThe exact folder we audited
- LicenceNOASSERTIONAs the repository states it
- Commit pinned for this verdict088088af666dA new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its 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,…
--- name: implement-in-app-purchases 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. --- # 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 - **Project scan and path routing (read first):** See [references/pre-check.md](references/pre-check.md) - **API signatures & code examples:** See [references/api-notes.md](references/api-notes.md) - **Platform extensions (Apple, Google):** See [references/platform-notes.md](references/platform-notes.md) - **Editing `IAPProductCatalog.json` (schema, decimal serialization, refresh):** See [references/codeless-catalog.md](references/codeless-catalog.md) - **v4 → v5 migration:** See [references/migration-v4-to-v5.md](references/migration-v4-to-v5.md) - **Convert native Google BillingClient to Unity IAP 5:** See [references/path-convert-native-google-billing.md](references/path-convert-native-google-billing.md) - **Convert native iOS StoreKit plugin to Unity IAP 5:** See [references/path-convert-native-storekit.md](references/path-convert-native-storekit.md) - **Convert Essential Kit billing to Unity IAP 5:** See [references/convert-essentialkit.md](references/convert-essentialkit.md) - **UniPay (FLOBUK) — assessment and guidance:** See [references/convert-unipay.md](references/convert-unipay.md) - **RevenueCat — conversion assessment and guidance:** See [references/convert-revenuecat.md](references/convert-revenuecat.md) - **Adapty — conversion assessment and guidance:** See [references/convert-adapty.md](references/convert-adapty.md) - **Add Unity IAP 5 to a project with no existing IAP:** See [references/path-add-iap-to-new-project.md](references/path-add-iap-to-new-project.md) - **Implement IAP D2C Capabilities (third-party payment provider — Stripe/Coda, requires v5.4+):** See [references/path-implement-iap-d2c.md](references/path-implement-iap-d2c.md) Read reference files on demand — only when you need specific API signatures, platform extension details, or migration mappings. ## Initialization Flow 1. Obtain `StoreController` via `UnityIAPServices.StoreController()` (or individual services via `DefaultStore()`, `DefaultProduct()`, `DefaultPurchase()`) 2. Subscribe to **all** required events (see Required Event Subscriptions below) **before** calling `Connect()` 3. `await store.Connect()` to connect to the platform store 4. On `OnStoreConnected`, call `store.FetchProducts(List<ProductDefinition>)` to load the catalog 5. On `OnProductsFetched`, products are ready for display and purchase Use `Awake()` for initialization — ensures IAP is ready before other `Start()` methods. Product types: `ProductType.Consumable`, `ProductType.NonConsumable`, `ProductType.Subscription`. ## Fetching Products Define products as `List<ProductDefinition>` and pass to `store.FetchProducts()`. Use `StoreSpecificIds` when product IDs differ across Apple/Google stores. For complex catalogs, use `CatalogProvider` to manage product sets and store-specific IDs. | Method | Behavior | |---|---| | `GetProducts()` | Returns the **cached** product list (synchronous, stale if `FetchProducts` not called) | | `FetchProducts()` | Queries the **store** for fresh pricing/availability and updates the cache | | `GetProductById(id)` | Returns a single cached product by ID | These are NOT interchangeable. Always call `FetchProducts()` first before relying on `GetProducts()`. ## Two-Step Purchase Flow IAP v5 uses a mandatory two-step flow: **Pending → Confirm**. 1. `store.PurchaseProduct(product)` — initiates the platform purchase dialog 2. `OnPurchasePending` fires — you receive a `PendingOrder` 3. Validate the receipt, grant content to the player 4. `store.ConfirmPurchase(pendingOrder)` — finalizes the transaction 5. `OnPurchaseConfirmed` fires — receives `Order` base type; pattern-match `ConfirmedOrder` (success) vs `FailedOrder` (confirmation failed) **You MUST call `ConfirmPurchase(pendingOrder)` after granting content.** Unconfirmed purchases are re-delivered on next app launch to prevent lost purchases. **De-duplication:** `OnPurchasePending` may fire multiple times for the same purchase (e.g., app restart before confirmation). Always check if content was already granted. **Consumables:** Confirmed consumable purchases are NOT returned by `FetchPurchases`. Track consumable grants yourself (e.g., in Cloud Save or Economy). **Deferred purchases:** `OnPurchaseDeferred` fires for Ask-to-Buy (iOS) and Google Play deferred purchases. Do NOT grant content — wait for `OnPurchasePending` when approved. ## Restore Transactions `store.RestoreTransactions(callback)` re-delivers non-consumable and subscription purchases. Each restored purchase triggers `OnPurchasePending`. Required on iOS for Apple App Store compliance — add a "Restore Purchases" button. Apple non-renewable subscriptions **cannot be restored** via `RestoreTransactions`. Track these server-side. ## Receipt Validation | Platform | Approach | |---|---| | **Google Play** | `CrossPlatformValidat
Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 088088a
git clone https://github.com/unity-technologies/skills git -C skills checkout 088088af666d
The author documents no install command, so this uses the repository directly. Our verdict covers commit 088088af666d only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
088088af666d
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/unity-technologies/implement-in-app-purchases/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
obra/superpowers
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions…
obra/superpowers
Use when you have a spec or requirements for a multi-step task, before touching code
obra/superpowers
Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions
Add this badge to your README
[](https://modelsatlas.com/skills/unity-technologies/implement-in-app-purchases/)
<a href="https://modelsatlas.com/skills/unity-technologies/implement-in-app-purchases/"><img src="https://modelsatlas.com/skills/unity-technologies/implement-in-app-purchases/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about implement-in-app-purchases
What does the implement-in-app-purchases skill do?
Is implement-in-app-purchases safe to install?
What can implement-in-app-purchases access on my machine?
How current is this page?
Sources
- github.com/unity-technologies/skills/tree/main/skills/implement- — the audited source at commit 088088af666d and every finding aboveObserved · 21 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the implement-in-app-purchases skill do?
- Is implement-in-app-purchases safe to install?
- What can implement-in-app-purchases access on my machine?