Documentation
PDF Distribution guide
Sell guides, e-books and reports through your WooCommerce store. Every buyer automatically receives their own personalised, protected copy — so a leaked copy always shows whose it was.
Overview
PDF Distribution connects your WordPress / WooCommerce shop to YourProDesk. Your shop keeps doing what it does well — product page, checkout, payment. YourProDesk does the rest: it stores the PDF, makes a personalised copy for each buyer, delivers it, and keeps a verifiable record of every sale.
| Personalised copy | Every page watermarked with the buyer's name, order number and date. |
|---|---|
| Legal protection | Optional copyright page, AI-use notice, editing restrictions and a password to open. |
| Proof | Optional blockchain record and QR code on every copy; tamper detection for anyone who wants to check a file. |
| Delivery | Buyers get an email with a sign-in link and a personal library where they can download again at any time. |
| Cost | 1 credit per sale. No monthly fee per product. |
How it works
- You create a product in YourProDesk: upload the PDF and choose the protection.
- You create a matching product in WooCommerce (price, description, checkout) — without a downloadable file.
- You add one webhook to your store. It covers all your YourProDesk products.
- A customer buys. When the order is paid and completed, WooCommerce sends the order to YourProDesk.
- YourProDesk matches the order to your product, creates the buyer's personalised copy, records it, and emails the buyer.
Before you start
- A WordPress site with WooCommerce, and admin access to it.
- A YourProDesk account with credits — each sale uses one.
- The final version of your PDF (up to 200 MB). Products can't be edited after creation — see Why products are locked.
Creating a product
Go to Distribution → Sell Your Documents and click Add New Product.
| WooCommerce product URL | Optional. Paste the product's address in your shop and click Fetch Details to fill in the name, price and description automatically. |
|---|---|
| WooCommerce Product IDs | Required. The ID of the WooCommerce product that should deliver this PDF. To find it, open the product in WordPress — the address bar shows ?post=142; the number is the ID. If the same PDF is sold both on its own and in a bundle, enter both IDs separated by commas, e.g. 142, 288. |
| Product name & description | Shown to the buyer in their email and library. |
| Price (USD) | For your sales and revenue figures — the price actually charged is the one in WooCommerce. |
| Cost per sale | Shows what each sale costs you in credits at your current plan. |
| Copyright owner & contact email | Printed on the copyright page, so anyone holding a copy knows who owns it and how to reach you for licensing. |
| The file buyers will receive, with a preview. | |
| Protection options | See below. |
After saving, the setup page opens with the steps to connect your store.
Protection options
Every copy is always personalised with the buyer's name, order number and purchase date. On top of that you choose:
| Legal copyright page | Adds a page stating the copyright owner, that the copy is licensed to this buyer for personal use, and that copying or sharing is not allowed. |
|---|---|
| AI-use notice | Adds a notice that the content may not be used to train or feed artificial-intelligence systems. |
| Blockchain QR | Records each buyer's copy on the blockchain and adds a QR code that anyone can scan to check it. Turning this on also adds the copyright page, where the QR code is placed. |
| Restrict editing | Encrypts the PDF (AES-256) with permissions that stop it being edited in standard PDF software. |
| Password to open | Each buyer's copy is locked with its own password, given to that buyer with the purchase. A forwarded file is useless without it. |
| Flatten | Merges everything into the page itself, so the watermark and added pages can't be lifted off as separate layers. |
Which to choose? For most guides and e-books: copyright page, blockchain QR and restrict editing. Add the password for high-value or confidential material — it's the strongest protection, at the cost of one extra step for the buyer.
Connecting WooCommerce
You do this once per store. The setup page (and the WP Guide button on each product) shows your own webhook address and secret with copy buttons.
1. Set up the WooCommerce product
- In WordPress: WooCommerce → Products → Add New.
- Name and price it as buyers should see it.
- Product type Simple product, and tick both Virtual and Downloadable. Without Downloadable, WooCommerce leaves orders as Pending instead of Completed and the PDF is not delivered.
- Don't upload a file under Downloadable files — YourProDesk stores and delivers the PDF. Leave it empty.
- Publish, and note the product ID for your YourProDesk product.
2. Add the webhook
- In WordPress: WooCommerce → Settings → Advanced → Webhooks → Add webhook.
- Name: e.g. YourProDesk. Status: Active.
- Topic: Order updated.
- Delivery URL: paste your webhook address from YourProDesk.
- Secret: paste your webhook secret.
- API version: WP REST API Integration v3. Save.
One webhook covers every product. Each order is routed by the WooCommerce Product IDs you entered, so when you add more products later you only create the products — the webhook stays as it is. Keep the secret private: it's how YourProDesk knows an order really came from your store.
Testing the connection
Testing is free — no order is created and no credit is used. Use either method:
- WooCommerce test delivery — WooCommerce pings the address when you save the webhook.
- Validation order — in WordPress go to WooCommerce → Orders → Add order, set the customer email to
[email protected], add your product, set the status to Completed and save. YourProDesk recognises this reserved address and marks the connection verified without delivering anything.
Each product shows its connection status:
| Connected | A webhook from your store has been received — with the date it first arrived. |
|---|---|
| Unverified | Setup was marked complete, but no webhook has arrived yet. Run a test. |
| Not connected | Orders won't reach YourProDesk and buyers won't get their PDF until the webhook is set up. |
What the buyer gets
- They buy in your shop as usual.
- Within moments of the order completing, they receive an email from YourProDesk with a secure sign-in link — one email per product purchased.
- The link opens their library: every PDF they've bought from sellers using YourProDesk, with a download button.
- The download is their own copy, watermarked with their name, order number and date, with the protection you chose.
- They can set a password to sign in to their library directly in future and download again whenever they need to.
The blockchain record for each copy is written in the background, so the buyer never waits for it; it's retried automatically if the blockchain is briefly unavailable.
Managing products & sales
Sell Your Documents lists your products with their connection status, price, credit cost, number of sales and revenue. From each product you can open its details or the WP Guide.
Why products are locked
Once a product is created, its PDF and content can't be changed. Every buyer is guaranteed to receive exactly what was sold, and every copy matches its record. You can still:
- Pause a product — new orders for it are not fulfilled until you activate it again.
- Delete a product, as long as it has no sales yet.
- Publish a new version as a new product with the same WooCommerce Product ID, then pause the old product so only the new version is delivered.
Checking a copy (tamper detection)
Found your guide online, or want to confirm a file is genuine? Upload it on Distribution → Tamper Detection. YourProDesk calculates the file's fingerprint and compares it with its records — the file itself is not stored or shared.
| Authentic | The file is an unaltered copy issued through YourProDesk, with the product, copyright owner and purchase date. If the copy was recorded on the blockchain, a live blockchain check is shown too. |
|---|---|
| Not authentic | The file has been changed in any way, or wasn't issued through YourProDesk. |
What else is shown depends on who is checking: the seller sees which buyer and order the copy belongs to; the buyer sees their own order; anyone else sees only whether the copy is genuine. Even without uploading, the buyer's name watermarked on every page shows whose copy it was.
Credits
- Each fulfilled sale uses 1 credit — covering the personalised copy, copyright page, blockchain record and delivery. The cost in dollars depends on your plan; higher plans pay less per credit.
- Tests and validation orders are free.
- An order with several of your products uses one credit per product.
- Keep credits available — turn on auto-recharge under Account → Credits so sales are never held up.
Troubleshooting
| The buyer didn't get an email | Check the order is Completed in WooCommerce (not Pending or Processing) — usually the Downloadable box isn't ticked. Check the product status is Connected and the WooCommerce Product ID matches. Ask the buyer to check spam. |
|---|---|
| Status stays Not connected | Check the webhook is Active, the topic is Order updated, and the address and secret were pasted in full. Then run a validation order. |
| WooCommerce shows the webhook failing | A signature error means the secret doesn't match — copy it again from YourProDesk. |
| I need to fix a typo in the PDF | Create a new product with the corrected PDF and the same WooCommerce Product ID, then pause the old one. |
| Same PDF in a bundle | Add the bundle's WooCommerce Product ID to the product, comma-separated. |