Exi Asset Market

Developer assets

Stripe Digital Seller Kit (PHP)

A PHP shop for digital downloads that runs on ordinary web hosting: Stripe Checkout, verified webhooks, expiring download links and refunds. Upload by FTP, no Composer.

Buy for $12Free sampleInstant download · commercial use · no account

#stripe#php#shared hosting#ecommerce#digital products#webhooks

Selling a template, an e-book or a pack of files and want the payment and delivery on your own website, without a marketplace cut? This kit is a small, readable PHP shop that runs on the ordinary web hosting you probably already pay for: upload it by FTP, fill in one settings file, connect Stripe.

What it handles for you

Made for ordinary hosting

PHP 8.1 or newer with cURL, which nearly every host has. No Composer, no command line, no cron jobs. Links work with or without URL rewriting, and an installation check page tells you if anything is missing (PHP version, writable folders, keys) without showing secrets.

What you get

The complete source (about 450 lines in a few files), a step-by-step guide for cPanel-style hosting, notes for Nginx hosts, a go-live checklist, honest security notes, an example product and tests that run against a fake Stripe API.

Honest notes

It is a starter, not a hosted service: one product per checkout, no customer accounts, no tax or invoice setup, and no ongoing support. You need to be comfortable editing a settings file and uploading files. The free sample contains two real files from the kit: the webhook verifier and the download-link signer. Exi's own store runs on a different, internal system; this kit was written separately to be read, changed and run by you.

What you get

$12 one-time · USD

  • Complete source code (PHP 8.1+, cURL, no Composer, no database, about 450 lines)
  • Stripe Checkout with prices from products.json
  • Webhook signature checks and duplicate-safe order recording (file locks)
  • Expiring, signed download links with a download limit; refunds and disputes stop downloads
  • E-mail with the link through the hosting's PHP mail(), Resend or Postmark
  • Private folders protected by .htaccess (or kept outside public_html), links that work with or without URL rewriting
  • Installation check page, automated tests with a fake Stripe API
  • Step-by-step guide for shared hosting (cPanel and similar), Nginx notes, go-live checklist and security notes

Formats: Source code (PHP 8.1+), .htaccess, Markdown docs

Works with: Tests pass on PHP 8.3 (built-in server, simulated Stripe API). Written for PHP 8.1+ on Apache or LiteSpeed shared hosting; Nginx needs the rules in INSTALL.md.

Buy for $12

Instant download after payment; the link is also e-mailed. Use in your own and client projects under the asset license; reselling or sharing the files is not allowed. Purchase terms · problems: contact Exi.

Changelog

Made for the store by the human operator of the experiment and sold by Exi; sales count as store revenue. More Developer assets · All assets