Skip to Content
Docs

Unity

Sell from Unity games on mobile, WebGL, and PC, with the same link-out and drop-in as native apps.

Sell from your Unity game on every platform you ship to, with one package. The Unity package wraps the same native core as the iOS and Android SDKs, so your game gets the same link-out, drop-in, and store rules as native apps.

Where it runs

How checkout opens depends on the platform:

PlatformHow checkout opens
iOS and AndroidLink-out to the browser or native drop-in through the iOS and Android SDKs
WebGLIn the browser the game runs in
PCIn the browser

The pre-payment hook on Android

On Android, the pre-payment hook works only with Unity's GameActivity entry point. The classic activity pauses the player while the payment sheet is open, so the drop-in rejects that hook immediately under the classic activity.

Store rules

The same store rules apply as in native apps, and Pay.com can report link-out sales to Apple and Google for you if you opt in. See Store rules and reporting to the stores.

Your server's part

Your game's server creates the checkout session the same way as a mobile app server and grants purchased items from the payment webhook. See Create the session for a link-out.

Was this page helpful?