# Sell digital products

> Add a download link to each item and send it to buyers in a custom email after they pay.
>
> Source: https://docs.bcl.my/sell-digital-products/

To sell an ebook, template or online class, add a download link to the item on your payment form, then send it to the buyer in a custom email. The buyer gets the link automatically once the payment succeeds.

This works on forms that use **Multiple Items**. For access that cannot be shared, see [Deliver digital products securely](/secure-digital-delivery/).

## Add the download link to an item

Upload your file somewhere buyers can open it, such as Google Drive or Dropbox, and copy the link. Then:

1. Go to **Payments** > **Forms**, then click **Create Form**, or open an existing form.
2. Fill in **Basic Information**.
3. On the **Payment Details** tab, set **Price Setting** to **Multiple Items**, then choose your **Portal Key** and **Payment Option**.
4. Under **List of Items**, click **Add Item** and fill in the name, **Amount (RM)** and **Stock**.
5. Click **Add Payment Form** or **Update Form** to save. The **More** button only works after the item is saved.
6. Click **More** on the item.
7. Under **Digital Content**, paste the link into **Download Link**. It must start with `https://`.
8. Click **Update Item Information**.

*(Screenshot: Item settings panel with the Download Link field under Digital Content)*

## Send the link by email

The download link reaches the buyer through the `{product_table}` variable in a custom email. Set it up once per form:

1. Open the form and click **Notifications** at the top.
2. Open the **Custom Email Notifications** tab and turn on **Enable Custom Email Content**.
3. Fill in **Email Subject**.
4. Write your message in **Email Content** and add `{product_table}`. Click **Variables** to copy others, such as `{name}` or `{reference_id}`.
5. Type your address in the test field and click **Send Test** to see the email.
6. Click **Save Notification Settings**.

*(Screenshot: Custom Email Notifications tab with the Variables list open)*

`{product_table}` shows each item bought, with an **Access** button that opens its download link. BCL sends this as a separate email, in addition to the standard receipt email.

## Common issues

### My customer paid but did not get the download link. Why?

The link is only sent in the custom email. Open the form, go to Notifications > Custom Email Notifications, turn on Enable Custom Email Content and put {product_table} in Email Content.

### The custom email is set up but my customer says it never arrived.

Ask them to check the Gmail Promotions tab, Spam or Junk, and search All Mail. If you need a download link nobody else can open, use protected content (/secure-digital-delivery/) instead.

### Can I use a Google Drive link instead of protected content?

Yes. Put the link in Download Link on the item. It needs no add-on, but anyone who gets the link can open it. Protected content (/secure-digital-delivery/) needs an add-on and asks for a one-time code.
