High-level flow
Stash Webshop connects players to your game economy through a web-based storefront.
Core Flow
Stash Webshop integration has three main steps. Each step defines how players connect, view offers, and complete transactions.
-
Account linking: Players link their in-game account with Apple, Google, Facebook, or a custom JWT/OIDC login provider.
-
Catalog presentation: Players see offers from either:
- Managed catalog: Offers set up in Stash Studio/API.
- Dynamic catalog: Live offers from your game server.
-
Event Processing: The webshop sends real-time notifications to your game server through webhooks for item granting and analytics.
Failsafe purchase flow
The failsafe purchase flow ensures players are only charged after your game server confirms item delivery.
Stash pre-authorizes payment, holds the funds, and notifies your game server through a webhook. Your server grants the items and confirms fulfillment before Stash finalizes the charge.