Everything you'd want to know before you install.
A detailed look at how Sell License Keys and Digital Products on PrestaShop 8 & 9 works, why we built it the way we did, and the thinking behind the features above.
What PrestaShop does not do with virtual products
A PrestaShop virtual product can carry a downloadable file, identical for every buyer. For a Windows key, a software license, a game code or access to an online course, each customer must receive a unique code, and that code must never be sent twice. Without a module, the merchant sends keys by hand, order after order, with the delays and mistakes that come with it.
A key stock filled in seconds
Paste the list of keys received from your supplier or drop a TXT or CSV file: duplicates are skipped, each key is encrypted before being saved, and a batch label (a supplier invoice number, for example) lets you find or export them later. If you publish your own software, the generator creates keys from your pattern, in batches or on the fly for each order.
Delivery that goes out by itself, at the right time
The module waits for the order to reach a paid status. It then assigns the keys, sends the email in the order language and shows them in the customer account. An order missing keys is put on hold and served automatically at the next import, in order of arrival. A cancellation or a refund revokes the keys and blocks downloads.
Protected files and counted downloads
The file (installer, PDF, archive) is stored in the PrestaShop download folder and is never reachable directly. Each order line gets a personal link that checks the download limit and the expiry date before sending the file. The counter is updated atomically, and the order page in the back office lists the latest downloads with their IP address.
An API for software publishers
Enable the API and your software can check a key, activate it on a computer and deactivate it. You set the maximum number of devices per key and the license validity on the product page. The JSON reply gives the status, the expiry date and the activations used. The full reference, with a curl example, is shown in the module settings.
There are no reviews yet.