Digital downloads, added in Miva Merchant 9.0005, make it easier for you to sell products that your customers can download from your store, such as PDFs, images, music, video files, etc. Digital products are almost the same as any other product; they can have product images, prices, descriptions, even Variants. The main differences between a digital product and a product like a hat or t-shirt are:
There is a potential issue if you sell digital products and you allow off-line payment methods, such as checks. When a customer buys a digital product from your store, they receive a link to download the product as soon as they complete checkout. If you allow the customer to pay by check, it might be several days before you realize that the customer simply entered a fake check number during checkout. However, the customer would already have the product. For this reason, you may want to disable off-line payment methods for your digital products.
The general process of using digital downloads is:
Set up a CDN (optional). See:
To Set Up a CDN
To Connect Your Miva Merchant Store to Your CDN
When you start using Digital Downloads, you can store your digital content in two places:
2.1. You can store your digital products on a cloud server called a Content Delivery Network. As of 01/31/16, the only CDN that Miva Merchant supports is Amazon S3 (Simple Storage Service). To use S3 you have to sign up for it with Amazon first, and then connect to your CDN from the admin interface.
2.2. You can store your digital products on your Miva Merchant server. Miva Merchant calls this "local" storage, and you can use it without any special setup.
See "To Set Global Defaults for Your Store's Digital Downloads".
Create your digital products.
See "To Add Digital Products One at a Time".
Disable off-line payment methods (optional, but recommended).
See "To Disable Off-Line Payment Methods for Digital Products".
See "To Create Free Shipping for a Standalone Gift Certificate" for an example.
See also: Customer Experience - Buying a Digital Product.
Basic support for digital products is installed in your 9.0005 store by default. You only need to install this module if you want to import and export your digital product data.
A CDN (Content Delivery Network) is a cloud server where you can store your digital content. As of 01/31/16, the only CDN that Miva Merchant supports is Amazon S3 (Simple Storage Service). To use Amazon S3, you need an Amazon AWS (Amazon Web Services) account. Please see: http://docs.aws.amazon.com/AmazonS3/latest/gsg/GetStartedWithS3.html
for an overview of using Amazon S3.
If you don't want to use a CDN, you can store your digital content on your Miva Merchant server. You can add digital products to your store server one at a time, or in a bulk import.
You can also use a CDN and your store server. Some of your digital products can go on your CDN and you can put others on your Miva Merchant store server. However, when you create digital products in your Miva Merchant store, you have to tell the system where the product is located.
You only need to follow these steps if you have set up a CDN.
|Name:||This is a name for the link to your CDN. The name is only displayed in the admin interface.|
|CDN||Select the CDN provider that you are using.|
|Access Key: Secret Key:||You will get an access key and secret key when you create your Amazon S3 CDN.|
Set the Max Downloads: This field controls the number of times a digital product can be downloaded. Note that this setting can over-ridden at the product level (edit product > Digital Downloads Settings tab).
When your customer buys a digital product, they will receive a special email that has a download link. If you set Max Downloads to 1, the customer can only download the product one time.
|If a download URL becomes inactive, for any reason, you can always manually create a new download URL for your customer and mail the URL to them. See To Manually Create a Download URL.|
To see all downloads for a single product:
If a customer is having trouble downloading a product, or a download link has become invalid for some reason, you can manually create a download link and email it to the customer.
3.1. In the Digital Download Settings tab, select the Settings section.
|Generate a Digital Download Code When This Product is Purchased||You must check this option to support Digital Downloads. If you don't check this box, the system will not generate download URLs for your digital products.|
The number of times the customer is allowed to download their purchase.
You can accept the global setting for this option (see To Set Global Defaults for Your Store's Digital Downloads) or over-ride the global setting for this product.
The number of days (starting from completion of checkout) that the download link will remain valid.
You can accept the global setting for this option or over-ride the global setting for this product.
3.2. If you are storing the digital file for this product on your Miva Merchant server, select the Local File section.
|Downloaded File Name:||
Technically, you don't need to enter anything in this field, although you can edit this field after you upload your digital product.
This field is part of a Miva Merchant process that gives your digital products a little extra security.
When you upload a digital product to your store server (see Upload, below), Miva assigns the digital file a random alphanumeric string. For example, if you are going to sell music in your store, the digital file that you upload might be "polka_polka.mp3". The system automatically puts the real file name in the Downloaded File Name field, but also assigns that file the string "3353576bc6d4e265f90ee9735d1c3edb".
The customer will never see the real filename until they complete the download process. If someone hacked into your store server, they would only see the alphanumeric string instead of the real filenames.
The Invoice screen (INVC) and the Order Confirmation email do not show the real filename. The special email that the customer gets has a download link that looks something like this:
After the customer completes the download process, the file that appears on their computer will be whatever is in the Downloaded File Name field.
|Local File Path: Upload button:||
To upload a digital file to your store server, click the Upload button. Click the Browse button to find the file on your local machine, then click Open.
3.3. If you are storing the digital file for this product on your CDN, select the Amazon CDN section.
3.3.1. You should already have uploaded your content to your Amazon S3 account. See: http://docs.aws.amazon.com/AmazonS3/latest/gsg/GetStartedWithS3.html
3.3.2. In the admin interface, enter the Bucket Name where you put your digital content. A Bucket is an Amazon storage location similar to a folder.
3.3.3. In the admin interface, enter the File Path. The file path is the file name of the digital content. Amazon calls this the "object name". In our example, our File Path would be "polka_polka.mp3".
3.3.4. In the admin interface, enter the Region. Amazon AWS lets you use resources in different geo-physical regions. You can see the region where your Bucket was created by looking at the Bucket Properties in your AWS account.
But see also: http://docs.aws.amazon.com/general/latest/gr/rande.html
This is really an example of how to restrict payment methods at the product level with the fields in: edit product > Product tab > Payment Rules section.
We're going to use the fields in the Payment Rules section to prevent customers from using an off-line payment method when they buy a digital product. However, you could follow the same steps to restrict payment methods for any of your products.
In this example, we've already created a digital product: an mp3 file
1.1. Check the Limit Payment Methods checkbox.
1.2. Under Permitted Payment Methods, we will select only those payment methods that are not off-line. Checks, COD, and credit card with simple validation are examples of off-line payments.
When our customer purchases this item and goes through checkout, they will only see the payment methods that we have permitted. For our song mp3, we are only going to allow customers to pay with PayPal.
If you need to disable payment methods for a large number of digital products, you could use the export/import process. When you use Export Products to Flat File, make sure that you select the Payment Rules Fields.
See also To Use "Exclude This Method Unless Permitted by Products".
In our example, we've already uploaded an mp3 file to our store as a digital product, and created a Price Group to allow free shipping. (See To Create Free Shipping for a Standalone Gift Certificate for an example.)
The Price Group that we created for free shipping shows up in the Ship Via list box.
This is a security measure. The customer never sees the real filename until they've completed the download process. See Downloaded File Name for more details.
The customer will usually receive a copy of the invoice in the Order Confirmation email.
Even if the customer examines the download link (by right-clicking on it and selecting Copy Link Location) they would only see something like this: