evenflo technologies

2026-11-26

The first test sale

Today the store made its first sale. It was a $1 test purchase with a fake card, but every piece did its job: payment, order check, a signed download link and the file itself.

Stripe

I turned on Stripe Managed Payments, so Stripe acts as the seller and handles sales tax. I set the product’s tax code to downloadable software. Then I made a $1 test product in Stripe’s test mode, just to have something to buy.

Where the files live

The packs are zip files in Cloudflare R2, which is Cloudflare’s file storage. The bucket is private, so nothing in it can be reached from the web directly. R2 is free at this size, but Cloudflare still asked for a payment method before turning it on.

The private R2 bucket holding the test zip, with public access disabled

Secrets, and a detour

The site needs two secrets: a Stripe key so it can create checkouts and confirm payments, and a signing key for download links. Cloudflare previews don’t share settings with the live site, which is what I want. Test keys stay in previews and the live site stays untouched.

The detour: I couldn’t add the secrets in the Cloudflare dashboard. The live site is still plain static pages with no server code yet, and the dashboard won’t take secrets for a site like that. The answer was the command line. wrangler preview secret put sets a secret on one preview only, and that did it.

When a payment is confirmed, the site hands back a download link. The link carries a stamp, signed with the secret key, that says which file it’s for and when it expires, 24 hours later. The site checks the stamp before sending the file. Without it, anyone could make up a link, or pass one around forever. The thanks page can always make a fresh link if an old one runs out.

The test

Buy button, Stripe’s checkout page, test card, thanks page, download.

Stripe’s checkout page in sandbox mode, showing the $1 test product

The thanks page confirmed the payment with Stripe, showed the link, and the zip came down. That’s the whole loop.

The thanks page: payment confirmed, with a download link

Working with Claude on this

Some honest notes on how the split went:

What’s next

Nothing here is live yet. It’s all on a preview copy of the site. Next up: moving the evenflo.tech domain to Cloudflare, sending the download link by email, and designing the page for the first pack.

One more thing: like the first entry, this one was done on a plane, this time flying with family over Thanksgiving. Realistically, the packs won’t be ready for Black Friday or Cyber Monday. But with Claude’s help and a decent Starlink connection up here, just maybe they will be.