Back-to-game redirects on orders
What's new
Order responses now expose where to send the player after checkout. Two fields were added: back_to_game_url, a per-order redirect URL set via the back_to_game_url parameter on order creation, and back_to_game_settings, platform-specific deeplinks configured in the dashboard at the game level. The latter is backed by the new BackToGameSettings schema (ios_custom_url_scheme, ios_universal_link, android_app_link). In both cases the {order_id} placeholder is already substituted.
Impact
After a successful purchase you can route the player straight back into the game — using the order-level URL when one was supplied, or falling back to the game's configured platform deeplinks.
Changes
| Resource | Change |
|---|---|
| create_order | Added back_to_game_url and back_to_game_settings to the response |
| get_order | Added back_to_game_url and back_to_game_settings to the response |
| update_order | Added back_to_game_url and back_to_game_settings to the response |
| get_unconsumed_order_details | Added back_to_game_url and back_to_game_settings to the response |
Upgrade
- No action required. Read
back_to_game_urlfor the resolved per-order URL; if it is absent, use the matching platform link fromback_to_game_settingsto redirect the player back to the game.
需要技术支持 ?
联系我们的集成技术团队: [email protected]