Skip to content

WooCommerce Downloads: Test When a Buyer Gets File Access

Use a staging order to check WooCommerce download permissions after payment, then test account and email links and the actual file.

A stack of worksheets and an orange card with a check mark
Jack Lee
3 Min Read
Share
On This Page

A downloadable file can be attached to the product while the buyer still lacks permission to open it. Check the order’s access timing first, then test the link as the buyer would use it.

Choose when a paid order unlocks the file

In a worked example, a tuition centre in Seremban sells a printed workbook together with a separate PDF practice set in the same cart. It wants registered buyers to download the PDF after payment, while the printed book still awaits fulfilment.

In WooCommerce → Settings → Products → Downloadable products, check Grant access to downloadable products after payment. With the setting enabled, core WooCommerce can permit downloads from a paid order in Processing. With it disabled, the order needs to be Completed. If all items are virtual and downloadable, WooCommerce can complete the order directly after payment. Use the order statuses guide to interpret the state your gateway returned.

Test the order as a buyer

Checkpoint in a staging testWhat to verify
Order still awaiting payment.The buyer cannot use a download link for the PDF.
Paid order in Processing with early access enabled.The correct PDF is available in My Account → Downloads.
Same order after fulfilment and completion.Check the same file on the account page. With the core completed-order email enabled, check that its Downloads section contains the link.

Sign in as the test customer and open the PDF from the account. Confirm it is the right practice set and opens completely. To compare the setting turned off, use a second test order on staging and check the link in Processing and again at Completed. For stores that accept guests, use a separate guest test and verify the order’s emailed link. The staging guide covers separating these checks from live purchases.

If a paid buyer sees no link, verify that the product is marked Downloadable, that a valid file is attached, and that the matching order has a download permission. Check the order’s Downloadable product permissions, including remaining downloads and expiry. If that panel is hidden, look under Screen Options on the order page. If account download works and the completed-order message arrives without a link, inspect the email template. If a link appears but the file does not open, check the file location and delivery method after confirming the permission is current.

Frequently asked questions

Does marking a product Virtual give download access?

No. Virtual covers whether the product needs shipping. Add the Downloadable setting and the actual file.

Start with the order’s permission. If the buyer can download from their account, compare the actual message with the core completed-order template. If no email arrived, the WordPress email guide explains how to separate sending from delivery.

Will an extra downloadable file reach past buyers automatically?

Adding a new file row does not grant it to past orders. Editing an existing file row updates that file for past purchases while retaining the remaining count and expiry.

Share This Article