IAP manager package for Unity. Makes use of local receipt validation as specified in Unity's documentation.
- Auto-Renewable Subscriptions
- Non-Renewing Subscriptions
- Consumables
- Non-Consumables
- Deferred Purchases (iOS)
- Auto-Renewable Subscriptions (Partial support) *1
- Non-Renewing Subscriptions
- Non-Consumables
- Upgrade / Downgrade
- Google Play Developer API
- Confirm price changes for subscriptions
- Deferred Purchases (untested)
*1: Partial support means subscriptions are confirmed on purchase, but subsequent subscription cancellations or updates are not automatically done. Complete subscription support requires a backend to call GooglePlay servers to confirm and update purchase status based on developer needs.
- Auto-Renewable Subscriptions
- Non-Renewing Subscriptions
- Consumables
- Non-Consumables
- Unity 2019.4+
- Tested on iOS, GooglePlay and Amazon Store
- Unity IAP v3.1.0 (April 19, 2021)
- Google Play Plugins for Unity v1.4.0 (Mar 13, 2021)
Add https://github.com/Fantamstick/hermes-iap/Assets/Hermes
from the Package Manager.
or locate manifest.json
in your Unity project's Packages
folder and add the following dependencies:
"dependencies": {
"com.fantamstick.hermesiap": "https://github.com/Fantamstick/hermes-iap.git?path=Assets/Hermes#3.0.1",
...
}
After setting up the IAP settings on AppStoreConnect and/or GooglePlay, purchases can be tested using the PurchaseTestScene on devices.
DEBUG_IAP
for useful debug information logging during development.UNITY_PURCHASING
required for Android builds.
Copyright (c) 2021 Fantamstick, Ltd Released under the MIT license
https://github.com/Fantamstick/hermes-iap/blob/master/LICENSE.md