capacitor-in-app-purchases

Implements in-app purchases and subscriptions in Capacitor apps for iOS and Android.

1|Updated Aug 25, 2026
One-click install
npx skills add https://github.com/involvex/ionic-everywhere --skill capacitor-in-app-purchases-involvex
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: capacitor-in-app-purchases
Source: https://github.com/involvex/ionic-everywhere/tree/main/.agents/skills/capacitor-in-app-purchases
Command: npx skills add https://github.com/involvex/ionic-everywhere --skill capacitor-in-app-purchases-involvex

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Setting up in-app purchases in a Capacitor app requires coordinating App Store Connect, Google Play Console, plugin installation, purchase flow code, receipt validation, and sandbox testing — a fragmented process where a single missed step causes silent purchase failures. ## Core Features & Use Cases - Store Configuration Guidance: Walks through creating consumables, non-consumables, and subscriptions in App Store Connect and Google Play Console, including pricing, subscription groups, and base plans. - Plugin Selection and Setup: Compares Capawesome Purchases versus RevenueCat, then installs and configures the chosen plugin with platform-specific settings like the iOS In-App Purchase capability. - Purchase Flow Implementation: Provides TypeScript code for fetching products, purchasing, finishing transactions, restoring purchases, handling unfinished transactions, and receipt validation. - Use Case: A developer adding a premium monthly subscription to an Ionic React app gets guided end-to-end: products created in both consoles, RevenueCat configured with platform API keys, entitlement checks wired into the app, and purchases verified with sandbox testers. ## Quick Start Set up in-app purchases in my Capacitor app, including store product configuration, plugin installation, purchase flow code, and sandbox testing on iOS and Android.

Frequently Asked Questions about capacitor-in-app-purchases

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add in-app purchases to a Capacitor app?▼

Create products in App Store Connect and Google Play Console, then install a purchases plugin such as @capawesome-team/capacitor-purchases or @revenuecat/purchases-capacitor. Implement fetching products, purchasing, finishing transactions, and restoring purchases, then run npx cap sync and test on physical devices.

Capawesome Purchases vs RevenueCat for Capacitor apps?▼

Capawesome Purchases is lightweight with no third-party backend dependency, but you handle server-side receipt validation yourself and need a Capawesome Insiders license. RevenueCat provides managed receipt validation, entitlements, and analytics but requires a RevenueCat account.

What Capacitor version is required for in-app purchase plugins?▼

Both Capawesome Purchases and RevenueCat require Capacitor 8 or later. Check the @capacitor/core version in your package.json before installing either plugin.

Why do Android purchases fail when testing in-app purchases?▼

Android purchases fail if the app is sideloaded instead of installed from Google Play. Upload a signed build to the internal testing track, add tester emails under License Testing, and install via the opt-in link. Also verify products are in Active status.

How do I test iOS in-app purchases without real charges?▼

Use Sandbox testing with a test account created in App Store Connect, signed in under Settings > App Store > Sandbox Account on a physical device. Alternatively, use StoreKit Testing in Xcode with a local configuration file, which works in the Simulator.

Why do purchases stop working after the app crashes?▼

Unfinished transactions block future purchases on some platforms. Call getUnfinishedTransactions() at every app launch, deliver the content, and call finishTransaction() for each pending transaction.