DSL4 DigitalPlatform / Sign in ↗ES
DEVELOPER TOOLS / COMMERCE

A checkout you can own.

A compact digital-download checkout that brings payments, licence keys and expiring delivery links into one Cloudflare Worker.

Papertill

Released

Built product and storefront · current purchase availability not independently verified.

Papertill checkout interface
Expand the product preview for a full-size view.
THE PRODUCT

What it solves.

Selling a digital file should not require a large commerce stack. Papertill packages the path from payment to delivery into a small, inspectable software kit. Its own storefront uses the same implementation.

THE ENGINEERING

How it works.

A dependency-free Worker handles Stripe Checkout and signature-verified webhooks. Licence keys are derived deterministically; HMAC-signed download links expire. Cloudflare KV stores the downloadable product. The repository includes a buy-to-download verification harness.

Cloudflare WorkersSigned deliveryStripe webhooksKV storage
WHO IT IS FOR

Who it’s for.

Papertill is for developers and independent creators who want to sell a digital file from infrastructure they control, for themselves or for clients. You need a Cloudflare account (the free plan is enough), a Stripe account that can take live payments and Node 18 or later. If you can paste a few commands into a terminal, the guided setup does the rest.

FEATURES

What it does.

Guided installer

One setup script asks for the product name, price and file, creates KV storage, generates the signing and admin secrets, stores your Stripe key as a Worker secret, uploads the file, deploys and registers the webhook.

Checkout options

Checkout sessions are created server-side with promotion codes enabled, and Apple Pay and Google Pay work through Stripe. Buyers give express consent to immediate delivery of the download before they are sent to payment.

A receipt page buyers can revisit

The receipt page re-checks payment with Stripe on every visit and issues a fresh download link. Each link expires after seven days, so returning buyers come back through their Stripe receipt rather than a shared URL.

Sales log for the seller

Signature-checked webhook events feed a sales log with sales and revenue counters, readable from an admin stats endpoint protected by the token the installer generates.

Simple to change

Change the price or product name by editing variables in the Worker config and redeploying, replace the file you sell with one KV command, and restyle the storefront in plain HTML and CSS with no build step.

AVAILABILITY

Status, pricing and access.

The kit is listed at $29, paid once rather than as a subscription, with a 14-day no-questions refund on reply to the Stripe receipt. The licence covers unlimited products, stores and client projects of your own and any modification, but not reselling Papertill itself as a checkout kit. Stripe’s standard processing fees still apply to your sales.

FAQ

Common questions.

Do I need a server or a database?
No. Papertill is one Cloudflare Worker plus Cloudflare KV storage, and the kit’s README says the Cloudflare free plan is fine. The file you sell sits in KV, which is not web-addressable, so there is no public URL pointing at it.
Who handles VAT and sales tax?
You do. With Papertill you are the merchant, like any Stripe seller, whereas merchant-of-record marketplaces such as Gumroad and Lemon Squeezy handle tax for you. Stripe Tax can be switched on in your Stripe dashboard if you need it.
Why not a Stripe Payment Link and a shared file link?
A Payment Link sends every buyer to the same success URL, so the file link becomes public as soon as someone shares it. Papertill issues a signed link per purchase, adds licence keys and keeps a webhook-verified order log.
← All products