How the download is secured
A download link is worthless without protection, because it can be forwarded and published. WEBSALE V8s therefore secures it on three levels.Download ID
If an order contains download products, it receives a download ID in addition to the order number. It is unique per order like the order number, consists of a digital signature, and is therefore tamper-proof.Signed link without a file name
The download link itself is also digitally signed and thereby protected against tampering. The name of the download file is not part of the link, and therefore cannot be derived from it.Limited number and validity period
You limit both per product. This way, a forwarded link remains usable only to a limited extent.Do not set the number to 1. A download can fail due to a connection drop or an operating error, and it is technically not possible to prove an error-free download. The buyer would then be left with nothing.
Process from the buyer’s perspective
After the purchase, the download link already appears on the confirmation page. It is additionally included in the confirmation email. If the buyer has registered in the shop, the purchase is also stored in their download account for three years. There they will find all downloads purchased in the shop, including those already completed and thereby deactivated. If a download has not succeeded despite multiple attempts, you can subsequently grant further downloads or extend the validity in the online service area.Requirements
The download module is activated for your shop by WEBSALE AG. The storage space for the download directory on the server is 10 GB in total. The files must be stored locally in the directoryprodukte/download.
Creating download products
You create the products in the WSPManager or transfer them from an ERP system. You upload the associated files via WSPManager or via FTP.When uploading via the WSPManager, file size limits apply. Large files should therefore be uploaded via FTP. Your WEBSALE representative will tell you the exact limits.
- the name of the download file, which the WSPManager automatically transfers to the server
- the number of possible downloads
- the validity period in hours or days
- the “free shipping” flag
Adding to the shop configuration
Create the<Download> section in the shop.config. It contains the labels under which the download ID and the download link appear in the shop.
Restricting payment methods
Buyers usually want a download right away. With payment by invoice, the goods would be delivered before the money arrives. You can therefore exclude individual payment methods as soon as download products are in the shopping cart, and thereby restrict payment to online clearing procedures. To do this, set theDenyForDownload parameter in the shop.config in the respective <PaymentXXX-Txt> section.
The block takes effect as soon as at least one download product is in the shopping cart. A mixed order of download and shippable products therefore also falls under it.
Restricting shipping methods
If the buyer orders exclusively download products, selecting a normal shipping method makes no sense. Conversely, a shipping method called “Download” does not fit an order with shippable goods. Two parameters in the<+Deliverer> sections show or hide a shipping method depending on whether the order is free of shipping costs overall.
Reference: Section +Deliverer
Template of the download module
The download module comes with its own template that you visually adapt to your shop. Enter it in theshop.config in the <Templates> section after the Download parameter.
Setting links to the downloads
Two tags lead to the downloads. They differ in whether they point to a single order or to the permanent account.Link to the purchase, WS-OrderDownloadLink
Belongs on the confirmation template and leads to the downloads of the order just completed. Used as a bracket, the area only appears when at least one download product has actually been purchased.Link to the download account, WS-UserDownloadLink
Belongs on any template and leads to the buyer’s permanent download account. Since this account only exists for registered buyers, the link belongs inside anST-LoggedIn bracket.
