Contact
Home/Free PHP scripts/LiteDigitalStore
Free PHP script to sell digital downloads · Sell Online

LiteDigitalStore.

Sell e-books, templates, software or music: upload a file, set a price, and customers get a secure, expiring download link by e-mail after paying with PayPal.

Free for personal and commercial usev1.0PHP 7.4+ no database
LiteDigitalStore store front with product cards
Free download

One ZIP file, 159 KB, with the full PHP source code and a README.

No database

Data is stored in protected files. Works on any PHP hosting.

Admin panel included

Modern, responsive admin with light and dark mode.

Combine with other Lite scripts

Same design, same admin and same core in every script.

What is LiteDigitalStore?

Free PHP script to sell digital downloads with PayPal and secure links.

LiteDigitalStore is a free script for selling digital downloads without a shop platform. Upload your file (PDF, ZIP, EPUB, MP3...), set a price and share the product page. Customers pay with PayPal; the PayPal IPN listener verifies the payment with PayPal and e-mails a secure link that expires after a number of hours and downloads. Files are stored in a protected folder and are never exposed by a public URL. Free products work as lead magnets: visitors enter an e-mail address and receive the file.

LiteDigitalStore features

  • Product pages with cover image, description, price and a PayPal Buy Now button
  • Automatic delivery: verified PayPal IPN creates the order and e-mails a secure download link
  • Files are stored outside public access (protected folder), links expire after N hours and N downloads
  • Free downloads for an e-mail address (lead magnets)
  • Orders list with revenue, download counters, resend link and refund status
  • Product structured data (JSON-LD), spam protection without CAPTCHA, PayPal sandbox mode for testing
  • Responsive store front, light and dark mode, accent color picker
  • Flat-file storage: no MySQL, one-click data backup

LiteDigitalStore screenshots

Real screenshots of LiteDigitalStore: the public pages your visitors see and the admin panel you use to manage them.

LiteDigitalStore store front with product cards
Store front
LiteDigitalStore product page with PayPal buy button
Product page
LiteDigitalStore admin dashboard with revenue
Admin dashboard
LiteDigitalStore admin orders list
Orders

How LiteDigitalStore works

  1. Open Admin > Settings and enter your PayPal business e-mail (use sandbox first to test), currency code, link lifetime and download limit.
  2. Add a product in Admin > Products: name, price, cover image, description and the file to sell. Set the price to 0 for a free download.
  3. Share the product page link. After payment PayPal calls ipn.php, the order is created and the customer receives the download link by e-mail.
  4. In Admin > Orders you can resend a link (it resets the expiry and download counter) or mark an order as refunded.
  5. Your server must be reachable from the internet (not localhost) for PayPal to send payment notifications. Make sure the PHP curl extension is enabled.

Install LiteDigitalStore in 5 minutes

  1. Download LiteDigitalStore.zip and unzip it.
  2. Upload the LiteDigitalStore folder to your web hosting (FTP or file manager).
  3. Make the data and uploads folders writable.
  4. Open /admin/ in your browser and create your admin account.
  5. Click Add sample content in Settings, or start adding your own.

Requirements

  • PHP 7.4 or newer (PHP 8.x recommended)
  • Apache or nginx, any shared hosting
  • No MySQL: files in the data folder
  • README with full instructions is inside the ZIP

LiteDigitalStore questions

Is it safe? Can people share the link?

Links expire and are limited to the number of downloads you set (default 72 hours and 5 downloads), and the file itself is never exposed by a public address.

Does it support Stripe?

This version uses PayPal. If you prefer Stripe, sell through a Stripe Payment Link and use the admin to send files manually, or take a look at PHP Store.

Need more than LiteDigitalStore?

LiteDigitalStore is ideal for a handful of downloads. For a full online shop with categories, cart, coupons, customer accounts and more payment gateways, see PHP Store:

Explore PHP Store →

PHP Store

A complete online store: products, variants, shipping zones, taxes and several payment gateways, with content management built in.

More free PHP scripts

Classifieds & Jobs

LiteAds

Let visitors post and browse classified ads. Categories, photos, search, moderation and seller messages, all without a database.

Browse all 20 free PHP scripts or see our professional PHP scripts.