GMEXT-AppleIAP (v2.0.0)
IMPORTANT
- This extension is to be used with GM 2023.8 and newer releases (for LTS you will need LTSr2)
- If you are using an old version of the extension you should remove it and install this one (installing over the old extension will not work properly).
- Works with macOS, iOS and tvOS.
CHANGES SINCE 1.2.1
Warning
This introduces some breaking changes: ios_*
constants are now named iap_*
DESCRIPTION
Extensions for integrating iOS/tvOS and macOS IAPs into your games.
FEATURES
- Consumables
- Durables
- Subscriptions (renewing and non-renewing).
DOCUMENTATION
The full documentation of the API is included in the extension asset (included files).
NOTES
Note that some functionality for verifying purchases relies on you to have your own custom web server - there are no custom functions in the extension for this, as you should use the existing http_get() functionality to communicate with your server. The mini-manuals link to Apple documentation on what your payment server needs to do.
REFERENCES
You can also find more "how to" documentation on our Helpdesk at macOS IAPs setup guide and iOS/tvOS IAPs setup guide.