GameMaker Studio 2 (2.3)
Icon

Apple IAPs

YoYo Games

You must be logged in to obtain assets

Description

Extensions for integrating iOS/tvOS and macOS IAPs into your games. Supports consumable, Durable, and Subscription IAP types (renewing and non-renewing).

Included in the asset are mini-manuals for the two platforms - be aware the code is extremely similar and the two "stores" require almost identical behaviour, but the function names and IAP event cases have different prefixes, etc., so please do pay attention to both manuals.

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.

You can also find more "how to" documentation on our Helpdesk at macOS IAPs setup guide and iOS/tvOS IAPs setup guide.

End User Licence Agreement (EULA).

Age Rating: 4+

Versions

GMS2 - Version 1.0.0. Published May 20, 2021

This asset requires GMS2 2.2.4 or above!

  • Added the new Mac IAPs and iOS/tvOS IAPs extensions. Import which one(s) you need.
  • Added the mini-manuals for these two extensions - this links to important resources and our Helpdesk setup guides.

iPadOS is covered by the iOS/tvOS extension, as currently iPadOS is no different to iOS as far as GMS2 is concerned, so it isn't a separate target.

GMS2.3 - Version 1.0.3. Published May 20, 2021

A small but important stability update:

  • Fixed an issue where if this extension was used in a macOS game, then quitting the game could result in the OS saying the game had crashed.
  • Fixed an issue where cancelling a macOS IAP purchase could crash the game.
  • Also marked the two included files to not be exported on any platform, as they're not required in-game.
Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait