1. Home
  2. Sales Delivery Actions
  3. Sell Your Book With WooCommerce and We’ll Deliver

Sell Your Book With WooCommerce and We’ll Deliver

Difficulty: Moderate, if you are already a WooCommerce user

With BookFunnel Delivery Actions, you can sell your book through WooCommerce, and we will generate a unique, private download link and send it to your buyer automatically! We’ll also handle any tech support if the reader has trouble transferring the book to their reading device. Learn more about delivery actions and how they work.

Ready to get started? First, we will save the delivery settings for WooCommerce, and then we will create a delivery action for your book.

WooCommerce Delivery Setting (5 minutes)

It takes about five minutes to save the delivery settings for WooCommerce, but you only have to do this one time.

This delivery setting allows BookFunnel to communicate with WooCommerce using their API. When you sell an item, WooCommerce will notify BookFunnel of the sale so that we can send a delivery email to your buyer.

Set the delivery settings for WooCommerce

  1. Click Sales on your BookFunnel dashboard.
  2. Click Action and select Delivery Settings.
  3. Click the checkbox for WooCommerce.
  4. Enter your Store URL. This probably looks like https://website.com/.
  5. Leave the delivery settings dialogue open.
  6. In a separate browser window, log into your WordPress dashboard.

Generate the API Key

  1. In a separate browser window, log into your WordPress dashboard.
  2. Open the WooCommerce menu.
  3. Choose Settings from the list.
  4. Click the Advanced tab.
  5. Select the Rest API tab.
  6. Click the Add key button.
  7. Fill in a description for the key. Example: BookFunnel API Key
  8. Select a user. Pick any user, or select your own if you only have one. We don’t change anything on your Woo dashboard or edit your orders at all, so the user you select here does not matter.
  9. Choose “Read/Write” for Permissions. BookFunnel does not touch your orders or your database, but we need write access to generate webhooks.
  10. Click Generate API key.
  11. Copy the Consumer Key and do not close the Key details screen yet.
  12. Return to the BookFunnel dashboard and paste the Consumer Key.
  13. Return to Woo and copy the Consumer Secret.
  14. Now you can close the Key details screen.
  15. Return to the BookFunnel dashboard and paste the Consumer Secret.
  16. Click Save Settings on BookFunnel. Did you see an error message? Check our Woo troubleshooting article.
  17. BookFunnel will verify your API key and then automatically generate the necessary webhooks. If you already have generated webhooks for BookFunnel, we won’t add any additional webhooks to WooCommerce.

If you see an error message on BookFunnel, please see our WooCommerce Troubleshooting article.

WooCommerce Delivery Actions (3 minutes)

BookFunnel needs to know which book(s) to deliver when we receive a webhook from WooCommerce. To do that, we’ll create a delivery action for each item that we should deliver. If we receive a WooCommerce transaction for an item that does not have a BookFunnel delivery action, we will simply ignore it.

  1. Click Sales on your BookFunnel dashboard.
  2. Click Action and select +New Delivery Action.
  3. Name your delivery action. Example: Book One with Extended Epilogue
  4. Select the book title to deliver from the drop-down menu. You can optionally select additional books if you are selling a boxset or discounted book bundle.
  5. If you have enabled more than one sales platform, select WooCommerce.
  6. Assign a product SKU and then highlight and copy it. The SKU must be unique and can be descriptive.
  7. Open your WordPress dashboard in a separate browser window.
  8. Click Products in the side navigation menu and click the name of the product that BookFunnel will deliver. The product must already exist on WooCommerce. If it doesn’t, create the product and then continue.
  9. Next to Product Data, make sure the Virtual checkbox is selected. If Downloadable is selected, WooCommerce will deliver the files immediately after purchase.
  10. Click Inventory and then paste the SKU.
  11. Click Update to save your change.
  12. Highlight and copy the permalink at the top of the item page.
  13. Return to your BookFunnel dashboard and paste the item’s permalink.
  14. Leave this delivery action paused until you are ready to activate it.
  15. You can optionally customize the delivery email and delivery page settings.
  16. Save And Close your new delivery action. Now it is time to test it!

Test Your New Delivery Action

You should test your new delivery action before sharing it with readers to make sure everything is working smoothly.

To test your new delivery action, set the price to $ 0.00 and “buy” your book from your WooCommerce store. The transaction should appear on your BookFunnel Sales dashboard and you should receive a delivery email.

If you do not receive a delivery email, check out WooCommerce Troubleshooting guide.

When The Test Fails

If you test the process and do not receive your delivery email, check your BookFunnel Sales dashboard.

  • If you see the failed transaction under “Recent Transactions”, there should be details on why the delivery failed and what you should check to correct it.
  • If the delivery email was not sent because the delivery action was paused, you can click the send button to send your delivery email manually. Remember to activate your delivery action when you are ready for BookFunnel to send delivery emails automatically (see instructions below).
  • If there is no record of the transaction on your BookFunnel Sales dashboard, something was missed in the WooCommerce delivery settings. Walk through the delivery settings again.

Please note that once a delivery action is active, BookFunnel will not send a delivery email for a book priced at $0.00 if you are on a First-Time Author plan.

To Activate a Paused Delivery Action

  1. Click Sales on your BookFunnel dashboard
  2. Click the name of the delivery action
  3. Click Edit
  4. Uncheck the “Pause this Delivery Action” box
  5. Save and close your delivery action

A Note on PayPal Payments When Testing

PayPal will not allow you to buy an item with your PayPal account if it matches the seller’s PayPal account. This is a problem because you are both the buyer and seller when testing. To test your new delivery action, use a second PayPal account or pay with a new credit card that is not on your PayPal account. Or, make your book free ($0.00) for testing purposes and avoid the PayPal dance entirely.

Do you want to handle tech support?

NOPE! Of course not. Add this to your receipt email and thank you page so buyers don’t ask you for help:

You will be receiving an email from help@bookfunnel.com with the link to download the book. If you have any trouble, click the help link at the top of the BookFunnel page and they’ll be happy to help.

If you did not receive your download email, click here: https://bookfunnel.com/help

Additional Notes

  • Delivery Actions are available on all BookFunnel plans
  • Each buyer receives a unique download link
  • Buyers have 14 days to download the book files, and can request additional time by visiting BookFunnel.com/help
  • EPUB & MOBI files are watermarked with the buyer’s email address
  • Delivery Action downloads are counted against your monthly download quota (just like a regular download)


I sell through WooCommerce and accept PayPal payments through that store. Do I set up a WooCommerce delivery action or a PayPal delivery action?

You will create a WooCommerce delivery action. A PayPal delivery action will only work when you are using PayPal buy buttons on your own website.

Is there any delay between the time a reader buys my book and the time they receive the BookFunnel email?

There shouldn’t be a delay, but there can be internet hiccups that slow down the transaction notification. In our testing, it never took longer than 20 seconds to receive a completed transaction notification, but individual results may occasionally vary.

I already deliver the book files through my WooCommerce store. Can you just handle the tech support if someone has trouble?

Yes! You will need to create a delivery action for your item. Then you can customize the email your readers receive from BookFunnel. Since they may have already downloaded the files, you can include text like this in your delivery email:

“You’ve already received the book files, but sometimes they can be tricky to transfer to your reading device. If you have any trouble, you can download your copy of {{title}} from BookFunnel using this link. They have step-by-step instructions and are happy to help if you need additional assistance.”

Will BookFunnel deliver a free book?

If you are on a Mid-List plan or higher, BookFunnel will send a delivery email when you “sell” a free book in your WooCommerce Store.

Was this article helpful?

Need Help?
Can’t find the answer you’re looking for?