Web shop specifics
There are four core pillars to web shop integration: account linking, catalog setup, purchase handling, and UI customization.
Account linking
- Authenticates players to link purchases and deliver items in-game
- Supports third-party accounts (Apple, Google, etc.) and custom auth,no Stash account required
- Reduces friction with QR codes and deep-link sign-in
For detailed implementation steps, see our Player Authentication guide.
Catalog setup
Stash supports a few different catalog setups. We can:
- Integrate with your existing catalog API (server-side), just like a game client
- Integrate with your existing client-side logic
- Quickly set up a catalog in Stash Studio
Learn more about Catalog Management options and implementation approaches.
Purchase handling
When players complete a purchase, Stash notifies you with webhooks. From there, you need logic to grant players their purchases. You likely have functionality for this already but if not, we can provide guidance.
For webhook setup and event handling, refer to our Webhooks documentation.
UI customization
- Stash web shops are custom-built to match your game and brand
- During the integration process, we’ll partner with you to tailor the look and feel of the web shop to your requirements
Integration steps
Phase 1: Foundation (1-2 weeks)
- Authentication Setup: Configure your preferred login providers in Stash Studio
- Account Linking: Implement player authentication flow using our Player Authentication guide
- Basic Catalog: Set up initial product catalog using either managed or dynamic approach
Phase 2: Core Integration (2-3 weeks)
- Webhook Implementation: Set up webhook endpoints to handle purchase events and player interactions
- Purchase Flow: Implement server-side logic to grant items when webhooks are received
- Testing: End-to-end testing of authentication, catalog display, and purchase fulfillment
Phase 3: Customization (1-2 weeks)
- UI/UX Design: Customize webshop appearance to match your brand
- Advanced Features: Implement loyalty programs, promotional campaigns, or advanced catalog features
- Performance Optimization: Load testing and optimization for production deployment
Timeline
Integration timelines vary depending on the complexity of the web shop and the existing infrastructure, but the general process has four phases:
- Planning and requirements
- Research existing implementation (if there is one)
- Define scope and set QA environments
- Integrating
- Set up authentication and account linking
- Set up catalog
- Implement or update purchase processing and events
- Testing
- Customization and migration
- Tailor catalog and checkout UI
- Run final load tests
- Launch prep
- Going live
- Phased deployment
- Post-launch monitoring
- Start ongoing Stash support
Much of the work can be done in parallel, and we’ll work together on a schedule. If you’re migrating from an existing provider, we’ll also swap out their APIs for Stash’s.