In App Purchase 2

$ ionic cordova plugin add cordova-plugin-purchase --variable BILLING_KEY="<ANDROID_BILLING_KEY>"
$ npm install @awesome-cordova-plugins/in-app-purchase-2
In-App Purchase on iOS, Android, Windows, macOS and XBox.

Features

Text
ios
android
win-8
win-10/uwp
mac
consumables
✅
✅
✅
✅
✅
non consumables
✅
✅
✅
✅
✅
subscriptions
✅
✅
✅
✅
✅
restore purchases
✅
✅
✅
✅
✅
receipt validations
✅
✅
​
✅
✅
downloadable content
✅
​
​
​
✅
introductory prices
✅
✅
​
✅
✅
Supports:
  • iOS version 7.0 or higher.
  • Android version 2.2 (API level 8) or higher
    • with Google Play client version 3.9.16 or higher
  • Windows Store/Phone 8.1 or higher
  • Windows 10 Mobile
  • macOS version 10
  • Xbox One
    • (and any platform supporting Microsoft's UWP)

Supported platforms

  • iOS
    • Android
    • Windows