> For the complete documentation index, see [llms.txt](https://helpdesk.ldtsoft.work/ldt-digital-downloads/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpdesk.ldtsoft.work/ldt-digital-downloads/sell-your-digital-products/how-to-place-a-test-order-to-make-sure-everything-work.md).

# How to place a test order to make sure everything works

Run one test order end to end: delivery email, Thank you page block, download portal and license key.

Place one free test order and follow it through checkout, the Thank you page, the delivery email and the download portal to check that your digital products are set up correctly.

### 1. Turn on the delivery email

Go to **LDT Digital Downloads → Settings → Email notification → Automatic email template**, switch on **Automatically send email** and set **Send email when** to **After order created**. A test order then sends the files by email without waiting for payment.

![Email notification settings with the automatic email switch and the send timing](https://1863660695-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iG7j4lDhziM0FqdCCU8%2Fuploads%2Fgit-blob-ba8505e58994141db6bcab5501656c86f3218dce%2Fsettings-email-automatic-switch.png?alt=media)

### 2. Create a 100% discount code

In your Shopify admin go to **Discounts → Create discount** and create a code that takes **100%** off, limited to the digital product you are testing, so the test order costs you nothing.

<figure><img src="https://1863660695-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iG7j4lDhziM0FqdCCU8%2Fuploads%2FEyczFoCCIsnAlmOtmeyq%2Fimage.png?alt=media&amp;token=0e94602e-4d13-4a15-8c6f-67ddec2d7778" alt="Shopify admin Discounts page with the Create discount button"><figcaption><p>From your Shopify admin -> Discount -> Create new discount</p></figcaption></figure>

### 3. Place a test order in your storefront

Add the product to the cart, apply the discount code at checkout and finish the order with an email address you can open.

<figure><img src="https://1863660695-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iG7j4lDhziM0FqdCCU8%2Fuploads%2Fwpa8fRJA4ogFJkt7nsbU%2Fimage.png?alt=media&amp;token=afed2e6b-4e68-43ad-8870-b204cc00c69c" alt="Shopify checkout page with the 100% discount code applied"><figcaption><p>Use your discount in Checkout page</p></figcaption></figure>

The **Thank you** page appears with the digital content block and a button that opens the customer's download page. Open the customer's **Order status** page from the link in the order confirmation email to check the same block there. If the block is missing, add it from **LDT Digital Downloads → Settings → Checkout page → Thank you / order status page → Open Editor page** — see [How to add our block to Thank you / Order status page](https://helpdesk.ldtsoft.work/ldt-digital-downloads/navigation/how-to-add-our-block-to-thank-you-order-status-page.md).

### 4. Or create a test order from a draft order

In your Shopify admin go to **Orders → Drafts → Create order**, add the digital product, then click **Collect payment → Mark as paid**. A draft order sends the delivery email and lets you test the portal too, but it never shows a Thank you page.

<figure><img src="https://1863660695-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iG7j4lDhziM0FqdCCU8%2Fuploads%2FL3ayVQQwbVdyfW0fFO4C%2Fimage.png?alt=media&amp;token=71f5a9ac-28b9-41b9-9f65-82af25375f05" alt="Shopify draft order with the digital product added and the Mark as paid action highlighted"><figcaption><p>Create a draft order, add the product and mark it as paid</p></figcaption></figure>

### 5. Check the order and the email

Open **LDT Digital Downloads → Orders** and open the test order: the **Information** card shows when the last delivery email was sent; when email tracking is configured, its **Email delivery status** button opens the provider log. The **File(s)** section inside the item lists the files the customer can download. Then check the inbox you used — if the email never arrived, click **Resend email** on the order.

![Test order page with the delivery information, the item files and their download counters](https://1863660695-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iG7j4lDhziM0FqdCCU8%2Fuploads%2Fgit-blob-57209a152e3c697a6c9c17917eb940260eeb0a8f%2Ftest-order-admin-check.png?alt=media)

### 6. Open the download portal

Go to **LDT Digital Downloads → Settings → Download portal**, keep **Show digital order search form** on, and open the **Page URL** under **Search digital order page**. Enter the test order's number and the email (or phone number) you used at checkout, then click **Find Order**: the order appears with its files ready to download.

![Download portal order page with the Download all button and the files of the test order](https://1863660695-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iG7j4lDhziM0FqdCCU8%2Fuploads%2Fgit-blob-322ead0428fda07731a155acfc09364c6d0ac7a1%2Fstorefront-portal-order.png?alt=media)

### Result

When the email arrives, the block shows on the Thank you / Order status page and the portal finds the test order — your setup is correct and real orders behave the same way.

### Related

* What can I do on an order page?
* [How to resend / send content-update email to the customer?](https://helpdesk.ldtsoft.work/ldt-digital-downloads/sell-your-digital-products/how-to-resend-send-content-update-email-to-the-customer.md)
