# j3k0/cordova-plugin-purchase

In-App Purchase for Cordova on iOS, Android and Windows

Repository: https://github.com/j3k0/cordova-plugin-purchase
Canonical: https://ross.abutalabs.com/products/cordova-plugin-purchase
Homepage: https://purchase.cordova.fovea.cc
Language: TypeScript
License Family: other
Last push: 2026-07-30T06:30:07+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 95, release rhythm 93, longevity 100
- inputs: {"age_days": 4836, "days_push": 34, "days_rel": 48, "gap_med": 14.5, "n_releases_24m": 13}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1370, forks 544 (observed 2026-08-28T04:04:31.925740+00:00)

## What it is
A native Cordova and Capacitor plugin providing a unified JavaScript API for in-app purchases across iOS, Android, Windows, and web payment providers like Braintree and Stripe. It supports consumables, non-consumables, subscriptions, restore purchases, and receipt validation with a single codebase.

## Use cases
- add in-app purchases to a cordova app
- implement subscriptions in an ionic app
- sell consumable items on ios and android with one codebase
- validate app store and play store receipts
- accept payments via braintree in a capacitor app
- restore previous purchases in a mobile app
- monetize a freemium mobile app

## When to choose
- you build mobile apps with Cordova, Capacitor, or Ionic and need cross-platform in-app purchases
- you want one unified API instead of separate App Store and Google Play billing integrations
- you need subscriptions, consumables, and receipt validation in a hybrid app

## When to avoid
- you build fully native apps with Swift or Kotlin - use the platform billing SDKs directly
- you need payments in a plain web app without Cordova/Capacitor
- you require a permissively-maintained dependency and cannot accept the plugin's commercial support model

## Facets
- artifact type: plugin
- maturity: active
- function: sdk, plugin-system, auth
- domain: mobile-development, e-commerce, cross-platform
- platform: windows, cross-platform
- tags: in-app-purchases, cordova, capacitor, ionic, subscriptions, payments, braintree, stripe, receipt-validation, appstore, google-play, ios, android, mobile

## Member repositories
- j3k0/cordova-plugin-purchase (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:31.925740+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:40:55.603474+00:00, confidence not recorded.
  - readme: https://github.com/j3k0/cordova-plugin-purchase (fetched 2026-08-28T04:04:31.925740+00:00, sha 55aeb2ae4a62)
  - homepage: https://purchase.cordova.fovea.cc (fetched 2026-08-29T11:58:03.039452+00:00, sha f2d05a585327)
  - registry_npm: https://registry.npmjs.org/cordova-plugin-purchase (fetched 2026-08-29T11:58:03.048852+00:00, sha 7c55bb9001c8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
