Return to the game
After checkout, Appside sends the player back to your app through your return URL. The SDK turns that URL into a PurchaseResult you can show in the UI.
Choose a return URL
- Universal Link (iOS) / App Link (Android), recommended:
https://yourgame.com/appside/return. It works even when the app isn't installed. Studio → Integration generates theapple-app-site-associationandassetlinks.jsonentries to host on your domain. - Custom scheme:
orbitquest://appside. Simplest to set up, but other apps could register the same scheme.
Handle it
- iOS:
Appside.handle(url)inscene(_:openURLContexts:)or SwiftUI.onOpenURL. - Android:
Appside.handle(intent.data)in the activity with the matching<intent-filter>. - Unity: the SDK registers the handler. Subscribe to
Appside.OnPurchaseCompleted. - Web: the store returns to
returnURLwith?appside_order=…, andAppside.handle(location.href)reads it.
Result fields
status (completed · canceled · failed), orderId, sku, credits, error (for failures).