Stripe, your own checkout, server limits and offline start
Latch team · 2026-12-06 · 5 min read
A few weeks ago Latch started taking purchases straight from Tebex and BuiltByBit. Since then the question we heard most was some version of "I don't sell there". Some developers sell through Stripe, some through their own site, and some want one purchase to cover one server, not every server the buyer owns.
This post covers what changed: Stripe and custom checkouts, server limits per purchase, a switch for older versions, offline start, standalone Java apps and a buy button on Explore.
Sell through Stripe
You can now connect Stripe under Manage › Stores, the same place as Tebex and BuiltByBit. Setup is three steps:
- In the Stripe Dashboard, add a webhook endpoint with the address from your Stores page and select the checkout, charge, dispute and subscription events listed in the docs.
- Paste the endpoint's signing secret (
whsec_…) on the Stores page. - Link each Payment Link by its ID (
plink_…) to a script or bundle. If you create Checkout Sessions in your own code, setlatch_productin the metadata and link that key instead.
When a payment completes, access opens on the buyer's Latch account. If you already know the account ID, pass it as client_reference_id; a Payment Link takes it as a URL parameter. Otherwise Latch matches the buyer's verified email or sends a claim link.
Refunds work the way you would expect. A full refund, a chargeback or an ended subscription removes the access that order gave. A partial refund doesn't. If you win a dispute, access comes back.
Your own checkout
If you sell through PayPal, Gumroad or a checkout you built yourself, there is now a custom webhook. Latch gives you an address and a signing secret, and your checkout sends a signed request for each event: purchase, refund, chargeback and subscription_ended. A tool like Zapier or n8n can send them too.
The signature is a timestamp and an HMAC of the request body, so requests can't be forged or replayed later. The stores guide has the exact format and a Node.js example you can copy.
Purchased access is locked the same way for every store. Nobody on your team can remove it by hand, through the API or from a bundle. It ends when the store reports a refund, a chargeback or an ended subscription. That protects your buyers, and it also protects you from a buyer claiming you took away something they paid for.
Server limits per purchase
On Latch, one key runs one server at a time. Until now, access belonged to the account, so a buyer with five keys could run your script on five servers after one purchase. That fits a lot of scripts. It doesn't fit developers who price per server.
You can now cap how many of a buyer's servers run a script at the same time:
- A default for the script on its Settings tab: Unlimited, or 1, 2, 3, 5 or 10 servers.
- A limit per account when you grant access by hand.
- A limit per store product, so the same script can be sold as a 1-server package and a 3-server package.
The limit is checked when a server starts. Servers that are already running are never stopped. When the limit is full, the new server doesn't start the script and the console says why:
Built so buyers can trust it
A limit can only go up. You can raise one account's limit on the Access tab, but you can't lower it. Lowering the script's default only affects access given from then on. Everyone who had access before this change stays unlimited. Buyers see the limit on the script's Explore page before they buy, and their download page shows how many of their servers use it right now.
Setting a limit is part of the Studio plan (2 servers and up). A 1-server limit needs Enterprise. Raising or removing a limit works on every plan. Limits apply fully to versions you publish from now on.
Older versions are your call
Server owners used to be able to pick any published version on their download page. That is now a per-script switch on the Settings tab, and it starts off: buyers get the newest version, your team can still download any of them. If you roll a version back, the previous one becomes the newest. Turn the switch on if your buyers need to stay on an older release, for example to match an older game build.
Offline start
A protected script checks its license when the server starts and keeps checking while it runs. If the license server can't be reached, a running script keeps going for 30 minutes. That was the only option, and some developers asked for more room for owners on unreliable hosts.
Each script now has an offline start setting: off, 1, 3 or 7 days. With it on, a server that passed a check within that window can start and run without reaching Latch, and keeps retrying in the background. Revoked access takes effect on that server once it reaches Latch again, which is why the longest option is a week.
Standalone Java apps
Hytale protection used to cover plugins only. Some developers ship a separate app next to their plugin, like a proxy started with java -jar. Upload a .jar that has a Main-Class in its manifest and no plugin manifest.json, and Latch recognizes it as a standalone app. It is protected and licensed the same way as a plugin. The Hytale guide covers the details.
A buy button on Explore
If your script is listed on Explore and sold elsewhere, its page can now send visitors there. On the script's Explore tab, enter where it's sold (BuiltByBit, Tebex, your own site) and the https link, and the page shows a buy button. Free scripts keep their one-click add instead.
What to do next
If you already sell scripts, open Manage › Stores and connect the store you use. New connections start in test mode, so you can send a test purchase before anything reaches real buyers. If you want per-server pricing, set a default limit on the script and give each store package its own. The stores guide and access guide have the full setup.