iOS presentation options
In-app dialog
Use the Stash SDK dialog when you need tighter in-app UX and direct success/failure callbacks to your app or game.Safari View Controller
Use this when you want a browser-based checkout that still feels in-app. Users do not have to switch between app and the browser and the checkout still happens in the context of your game or application. User returns back in the game using deeplinks.External system browser
Use this for the simplest linkout flow. Users leave the app for checkout inside the system browser and return via deeplink.Android presentation options
In-app dialog
Use the Stash SDK dialog when you need tighter in-app UX and direct success/failure callbacks to your app or game.Chrome Custom Tabs (CCT)
Use this when you want a browser-based checkout that still feels in-app. Users do not have to switch between app and the browser and the checkout still happens in the context of your game or application. User returns back in the game using deeplinks.External system browser
Use this for the simplest linkout flow. Users leave the app for checkout and return via deeplink.Return to your game
In the browser presentation modes (Safari View Controller, Chrome Custom Tabs, external system browser), the checkout result page offers a button that opens your app through a deep link. Set your app’s URL scheme in Stash Studio under Project Settings → General → App Deeplink Protocol, without:// (for example mygame). With no scheme set, the button only tries to close the page.
Stash builds the deep link from that scheme:
Register the scheme in your app. On Android an intent filter matches on the host as well as the scheme, so register the host
stash-pay, or the return link does not open your app:
AndroidManifest.xml