The versions page#
Every product has a versions page at:
/downloadable/admin/product/{product ID}/versions
It needs the permission Manage Downloadable Products. There is no link to it in the admin menu, so bookmark it.
Upload a version#
| Field | What it does |
|---|---|
| File | The file customers download. Up to 500 MB. |
| Version number | For example 1.2.0. Must be unique per product. |
| Changelog | Shown to customers on the releases page and in the update email |
| Status | draft is hidden from customers, published is visible |
| Latest | Marks this version as the latest one |
You can change the status of a version later. When you publish a version, you can email customers about it at the same time.
Download links#
When a customer clicks Download Latest Version, Paymenter creates a personal link for the newest published version:
- it works for 24 hours,
- it can be used 3 times,
- it only works for the customer who owns the service.
The View Releases & License page lists all published versions with their changelog, the license key and the last 20 downloads of the service.
Personalised files#
Each download can carry details of the customer. Put these placeholders in your file before you upload it:
| Placeholder | Replaced with |
|---|---|
&&__MAIL__&& |
Email address of the customer |
&&__USERNAME__&& |
Name of the customer |
&&__FILE__&& |
File name |
&&__PRODUCT_TITLE__&& |
Product name |
&&__TIMESTAMP__&& |
Time of the download, as a Unix timestamp |
&&__LICENSE_KEY__&& |
License key of the service |
&&__VERSION__&& |
Version number |
&&__SERVICE_ID__&& |
Service ID |
&&__USER_ID__&& |
User ID |
Where they are replaced:
- Zip files: in every file inside the zip that ends in
.txt,.php,.json,.cfg,.md,.html,.xmlor.iniand is up to 10 MB. - Other files: in the file itself, when it is up to 10 MB.
Zip files with more than 20,000 entries or more than 2 GB unpacked are refused.