---
title: "Build a web shop for your game · Fungies"
description: "A practical walkthrough of building a game web shop: modelling the catalogue, identifying the player, wiring delivery to webhooks, and going live."
image: "https://fungies.io/og-image.jpg"
canonical: "https://fungies.io/fungies-io-web-shop-for-games/"
---

Games · Build guide

# Standing up a web shop for a game you have already shipped

This is the build in the order you will actually do it: what goes in the catalogue, how a purchase gets attached to a player, how the thing they bought reaches them, and what has to be true before you accept a real card. The argument for having a web shop at all lives on the game keys web shop page. This one assumes you are already convinced and have been handed the work.

[Start free](https://app.fungies.io/register)

[Book a demo](https://calendly.com/duke-vuh/fungies-io-demo-clone)

No upfront costs. No credit card required.

Already selling with Fungies

 [![Leadsin.io](/logos/clients/leadsin.png)](/customer-story/hosted-checkout-solution-for-leadsin-io-a-saas-business "Leadsin.io — read the story")[![RenderAI](/logos/clients/renderai.png) ](/customer-story/helping-renderai-reduce-their-ai-saas-payment-integration-from-days-to-just-a-couple-of-minutes "RenderAI — read the story")[![SuperScale](/logos/clients/superscale.png) ](/customer-story/nimblebits-revenue-boost-with-a-web-store-solution "SuperScale — read the story")[![FreeVocals](/logos/clients/freevocals.png) ](/customer-story/freevocals-com-and-fungies-io-a-seamless-solution-for-digital-e-commerce "FreeVocals — read the story")![STATSCORE](/logos/clients/statscore.png)![SimFabric](/logos/clients/simfabric.png)![BotRix](/logos/clients/botrix.png)![Enhance AI](/logos/clients/enhance-ai.png)![The Humanize AI](/logos/clients/humanize-ai.png)![Kenerate AI](/logos/clients/kenerate.png)

![The Fungies orders list showing completed game purchases with buyer email, product bought and fulfilment status.](/_astro/orders.CpOsqO7l_eLCkj.webp?dpl=dpl_8EZJmbvb3ugYq7WK1KgC21BX19Zp)

The finished build on an ordinary day: orders arriving, fulfilment already done.

## The pieces you will be assembling

Products, variants and offers

A product is the thing, a variant is a version of it, and an offer is a purchasable price configuration. Standard, deluxe and soundtrack editions belong on one product with three variants rather than as three separate products competing in search.

Keys as a product type of their own

Game keys are a first-class type. Upload a batch, and they are encrypted on upload, held until a purchase releases one, then emailed to the buyer. Nothing about that path needs code from you.

Entitlements, which are not files

Currency, items and passes have nothing to download. The product exists so there is something to buy; the delivery is your own backend granting the thing when it is told a payment succeeded.

Custom checkout fields

Extra fields on the checkout for identifying the buyer in your own system. This is how a player ID or account name travels with the order instead of being reconstructed later from an email address.

Three ways to put a checkout on a page

A hosted link, an overlay opened from your own page, or an embedded frame. HTML data attributes cover a drop-in button, and there is a JavaScript SDK, the fungies.js package, a React example and a Next.js integration guide for anything more involved.

A sandbox that behaves like production

Full sandbox mode plus test payments, so every product type can be bought, delivered and refunded before you go anywhere near a real card.

## The build, in order

1.  01
    
    ### Model the catalogue before you build anything
    
    Decide what one purchase is. A key, a currency pack, a bundle, a recurring pass — each implies a different delivery path, and getting the product, variant and offer shape right at this point saves rebuilding the shop later. A free product is a cheap way to test the whole path with nothing at stake.
    
2.  02
    
    ### Decide how you will know who bought
    
    Either the player identifies themselves at checkout through a custom field, or you match on the email address they use in-game and accept that some will not match. Validate the identifier while the player is still on the page if your API can. The alternative is a support queue of paid orders nobody can attach to an account, and that queue never gets shorter on its own.
    
3.  03
    
    ### Wire delivery to the payment webhook
    
    Keys deliver themselves. Entitlements need your backend subscribed to payment success, and to the refunded and failed events as well, so access is withdrawn when a payment reverses. Grant from the server on the event, never from a client callback — that is the path an exploit takes.
    
4.  04
    
    ### Rehearse, then open the doors
    
    Run a purchase of every product type in sandbox, check what the buyer sees in the portal afterwards, then connect a payout account and publish. The store goes live on a Fungies subdomain immediately, or on your own domain once it is routed through Cloudflare.
    

## Decisions worth making early

01

### Keys and entitlements are two different builds

A shop that only sells keys needs no backend work at all — upload, price, publish. A shop that grants in-game items needs a webhook consumer, an identity story and a revoke path. Teams routinely scope the first and then discover they are doing the second.

02

### Identity is where this usually goes wrong

The characteristic failure is not a payment problem. It is a completed order that cannot be matched to an account, because the checkout collected an email the player does not use in the game. Solve that on the page, before the money moves.

03

### Refunds have to reach the game too

Granting on purchase is half the integration. If a refund or chargeback leaves the item in the account, you have built a way to acquire content for free, and word of that travels quickly in a live game's community.

04

### Going live is a payout question, not a code question

The shop can be finished days before the first payment can be received, because verification and payout onboarding have their own timeline. Start that early rather than treating it as the last checkbox on launch day.

## What sellers say once they have switched

[★★★★★ 4.8/5 from 10 reviews on G2 →](https://www.g2.com/products/fungies-io/reviews)

 [Vadim Finayev Head of Growth, Leadsin.io

“We work with quite a few merchants of record, but none comes close to the support and speed of implementation of Fungies. If you want a payment partner that actually gives you the feeling they want to work with you — rather than leaving you on read for three days or randomly restricting your account — you are in the right place.”

Read the story →](/customer-story/hosted-checkout-solution-for-leadsin-io-a-saas-business) [David Elliott Creative Director, Freevocals.com

“I researched the options and Fungies was the best fit for functionality and customisation within a store builder you can connect to your own domain. Taking a small percentage of sales, instead of charging a subscription for every environment and plugin, is refreshing.”

Read the story →](/customer-story/freevocals-com-and-fungies-io-a-seamless-solution-for-digital-e-commerce) [Elnura Abdimanap Kyzy Founder, TextToVideo.bot

“The platform is user-friendly, integrates easily with APIs and webhooks, and simplifies managing digital products and subscriptions. We were up and running quickly and support has been responsive throughout. Fungies is clearly tailored to the needs of SaaS businesses.”

Read the story →](/customer-story/how-fungies-enabled-texttovideo-bot-to-integrate-payments-in-minutes) [Francisco Magnone Rienzi Founder, Renderai.app

“Fungies has been a great partner — fast setup, competitive pricing, and real humans providing quick answers. They are constantly rolling out new features, and I am excited to see what is next.”

Read the story →](/customer-story/helping-renderai-reduce-their-ai-saas-payment-integration-from-days-to-just-a-couple-of-minutes)

## Questions that come up during the build

### How long does this actually take?

### Do we need an existing website first?

### Can we sell keys and in-game currency from the same shop?

### How do we soft-launch to a small group?

### What does it cost while we are still building?

For games

## Selling to players without a marketplace in the middle.

-   [Gaming Payment Processing →](/gaming-payment-processing)
-   [For Game Developers →](/features-game-developers)
-   [Game Website Creator →](/game-website-creator)
-   [Web Store for Mobile Games →](/web-store-mobile-games-iap)

## Start with the catalogue, not the code

Open the builder, model one product properly, and buy it from yourself in sandbox. The rest of the build follows from what that first purchase tells you.

[Start free](https://app.fungies.io/register)

[Book a demo](https://calendly.com/duke-vuh/fungies-io-demo-clone)

No upfront costs. No credit card required.

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://fungies.io/#organization","name":"Fungies","legalName":"Fungies Inc.","url":"https://fungies.io/","description":"Merchant of Record for SaaS, games, and digital products. Fungies handles global payments, VAT and sales tax, and checkout. Free to start, commission only.","slogan":"Tax-compliant payments for everything digital","logo":{"@type":"ImageObject","url":"https://fungies.io/brand/fungies-logo-black.svg"},"image":"https://fungies.io/og-image.jpg","address":{"@type":"PostalAddress","streetAddress":"2100 Geng Road, Suite 210","addressLocality":"Palo Alto","addressRegion":"CA","postalCode":"94303","addressCountry":"US"},"sameAs":["https://www.facebook.com/fungies.io","https://www.linkedin.com/company/fungies","https://twitter.com/fungies_io","https://t.me/fungies_announcements","https://discord.gg/yfH5ZyTZH4","https://www.youtube.com/@Fungies","https://www.tiktok.com/@fungies_io"],"contactPoint":[{"@type":"ContactPoint","contactType":"customer support","email":"support@fungies.io","url":"https://help.fungies.io/","availableLanguage":["en"]}]},{"@type":"WebSite","@id":"https://fungies.io/#website","name":"Fungies","url":"https://fungies.io/","description":"Merchant of Record for SaaS, games, and digital products. Fungies handles global payments, VAT and sales tax, and checkout. Free to start, commission only.","inLanguage":"en","publisher":{"@id":"https://fungies.io/#organization"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://fungies.io/"},{"@type":"ListItem","position":2,"name":"Build a web shop for your game","item":"https://fungies.io/fungies-io-web-shop-for-games"}]},{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"How long does this actually take?","acceptedAnswer":{"@type":"Answer","text":"A shop selling keys or downloads can be built and published in an afternoon, because nothing on your side has to change. A shop granting in-game entitlements takes as long as your backend work takes — the webhook consumer and the revoke path are the real scope, and they are yours."}},{"@type":"Question","name":"Do we need an existing website first?","acceptedAnswer":{"@type":"Answer","text":"No. The store builder produces the site as well as the shop, and it opens without an account so you can lay it out before committing. If you already have a site you like, skip the builder and put an overlay or embedded checkout on the page you have."}},{"@type":"Question","name":"Can we sell keys and in-game currency from the same shop?","acceptedAnswer":{"@type":"Answer","text":"Yes. One catalogue holds both, and a player can buy either through the same checkout. The difference is only in what happens after payment: a key is released and emailed automatically, an entitlement is granted by your server on the webhook."}},{"@type":"Question","name":"How do we soft-launch to a small group?","acceptedAnswer":{"@type":"Answer","text":"Sandbox mode covers the internal rehearsal. For a real but quiet launch, publish the shop without linking it from your main page and hand out a discount code to the group you want in first."}},{"@type":"Question","name":"What does it cost while we are still building?","acceptedAnswer":{"@type":"Answer","text":"Nothing. There is no monthly fee, no setup cost and no charge for a workspace that has not sold anything. The 5% + 50¢ applies to successful transactions only, so a month spent building costs the same as a month spent doing nothing. Negotiable once you are selling at volume."}}]}]}
```
