Back to Orders
MEDIUMHappy Path

Digital Product Delivery

Verify that orders containing digital products correctly create download access, allow file downloads via secure tokens, and enforce download limits.

9 steps
~6 min
order-9

Preconditions

  • Store has at least one digital product with a file attached
  • Digital product is published and available for purchase

Test Data

Use a test digital product like an e-book, music file, or software

Test Steps

Follow each step carefully

0/9

Add a digital product to cart

Location

Find a product marked as digital (may have download icon or "Digital" badge)

Verify

Digital product is in cart

Note

Digital products should not show shipping options at checkout

Complete checkout for the digital product

Location

Standard checkout flow; shipping may be skipped for digital-only orders

Verify

Order is placed; confirmation page shows

Complete payment (if not paid during checkout)

Location

Follow payment flow

Verify

Payment status is PAID

Check for download access on confirmation page or in confirmation email

Location

Download link/button on confirmation page or "Download your files" link in email

Verify

Download option is available immediately after payment

Click the download link to download the digital file

Location

"Download" button or link

Verify

File downloads successfully; file is the correct product file

In store admin, verify DigitalPurchaseAccess was created for this order

Location

Order detail page > Digital access section, or separate Digital Purchases page

Verify

Access record exists showing: order, product, access_token, download_count, max_downloads

Note the download count and test download limit enforcement

Location

Download multiple times up to the limit

Verify

Download count increments with each download

Note

If max_downloads is set (e.g., 5), download should fail after limit reached

Test download with invalid/tampered access token

Location

Modify the download URL token and try to access

Verify

Download fails with appropriate error (invalid token, unauthorized)

If logged in, verify digital products appear in customer account downloads section

Location

Account > Downloads or "My Downloads"

Verify

Purchased digital products are listed with download links

Expected Result

Digital product delivery works: (1) Digital products can be purchased, (2) DigitalPurchaseAccess record created upon payment, (3) Download link uses secure access_token, (4) File downloads correctly, (5) Download count is tracked, (6) Download limit is enforced if set, (7) Invalid tokens are rejected, (8) Downloads accessible from customer account, (9) Digital-only orders may skip shipping.

Ready to Complete?

Click when you have verified all steps and the expected result.

Test Info

Module
Orders
Steps
9
Duration
6 min
XP Value
+20