1. Home
  2. 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)

This video needs to be updated. It details how to set up one webhook. After the video, you will need to add two more webhooks. Follow the step-by-step directions below the video.

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

This delivery setting tells WooCommerce to notify BookFunnel when you sell a book (using a webhook). It also allows us to verify that a transaction is legitimate before we send a delivery email. There is some back-and-forth here, so we will break it down into three parts.

To set the delivery settings for your WooCommerce store, we will create three webhooks:

First Webhook – Order Created
  1. Click Sales on your BookFunnel dashboard and click Delivery Settings
  2. Click the checkbox for WooCommerce
  3. Highlight and copy your WooCommerce webhook
  4. Open your WordPress dashboard in a separate browser window
  5. Click WooCommerce in the side navigation menu and then select Settings
  6. Click the API tab and then click Webhooks
  7. Click Add Webhook
  8. Change the webhook status from Disabled to Active
  9. Under Topic, select Order Created from the drop-down menu
  10. Paste the WooCommerce webhook into the Delivery URL field (don’t save yet!)
  11. Switch back to your BookFunnel dashboard and copy the WooCommerce Webhook Secret (leave this setting open for now)
  12. Return to your WooCommerce store and paste the Webhook Secret into the field
  13. Click Save Webhook. One down, two to go!
Second Webhook – Order Updated
  1. Click Webhooks and then click Add Webhook again
  2. Return to the BookFunnel dashboard and highlight and copy your WooCommerce webhook
  3. On Woo, change the webhook status from Disabled to Active
  4. Under Topic, select Order Updated from the drop-down menu
  5. Paste the WooCommerce webhook into the Delivery URL field (don’t save yet!)
  6. Switch back to your BookFunnel dashboard and copy the WooCommerce Webhook Secret
  7. Return to WooCommerce and paste the Webhook Secret into the field
  8. Click Save Webhook. Only one more to go!
Third Webhook – Payment Complete Action
  1. Click Webhooks and click Add Webhook one last time
  2. Return to the BookFunnel dashboard and highlight and copy your WooCommerce webhook
  3. On Woo, change the webhook status from Disabled to Active
  4. Under Topic, scroll to the very bottom of the drop-down menu and select Action
  5. In the Action Event field, type woocommerce_payment_complete
  6. Paste the WooCommerce webhook into the Delivery URL field (don’t save yet!)
  7. Switch back to your BookFunnel dashboard and copy the WooCommerce Webhook Secret
  8. Click Save Settings to close the BookFunnel delivery settings dialogue
  9. Return to your WooCommerce store and paste the Webhook Secret into the field
  10. Click Save Webhook

Whew! Done. Now WooCommerce will notify BookFunnel when you sell an item, and we can verify that it is valid. You will not need to edit these settings again unless you create a new WooCommerce store.

WooCommerce Delivery Actions (3 minutes)

BookFunnel needs to know which book to deliver when we receive a webhook from WooCommerce. To do that, we’ll create a delivery action for each book (or 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 and click +New Delivery Action
  2. Name your delivery action Example: Book One with Extended Epilogue
  3. Select the book title to deliver from the drop-down menu
  4. If you have enabled more than one sales platform, select WooCommerce
  5. Assign a product SKU and then highlight and copy it (the SKU must be unique and can be descriptive)
  6. Open your WordPress dashboard in a separate browser window
  7. You must already have added the product to your WooCommerce dashboard
  8. Click Products in the side navigation menu and click the name of the product that BookFunnel will deliver
  9. Click Inventory and then paste the SKU
  10. Click Update to save your change
  11. Highlight and copy the permalink at the top of the item page
  12. Return to your BookFunnel dashboard and paste the item’s permalink
  13. Leave this delivery action in test mode until you are ready to activate it
  14. You can optionally customize the delivery email and delivery page settings
  15. Save And Close your new delivery action. Now it is time to test it!

Put your new delivery action into “test mode” and BookFunnel will only send a delivery email if the buyer’s email address matches one of the “test email addresses” provided. Set the price to $ 0.00 and “buy” your book from your WooCommerce store (using one of your test email addresses) and BookFunnel will send a delivery email.

Remember to turn off test mode once you have checked everything and are ready to activate the delivery action. Please note that once a delivery action is live, BookFunnel will not send a delivery email for a book priced at $0.00 if you are on a First-Time Author plan.

When The Test Fails

If you test the process and do not receive your delivery email, check your BookFunnel Sales dashboard. You should see your failed transaction under “Recent Transactions” with a comment on why the delivery email failed.

If there is no record of the transaction on your BF sales dashboard, something was missed in the WooCommerce delivery settings. Walk through the delivery settings again.

Add Test Email Addresses

You can view and manage your test email addresses on your dashboard:

  1. Click Sales on your BookFunnel dashboard and click Delivery Settings
  2. Your test emails are displayed at the top of the Delivery Settings dialogue
  3. Add or remove test emails in the test email address field.
  4. Separate email addresses with one space.

Example: author@gmall.com litfic@gmall.com testing@gmall.com

A Note on PayPal 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.

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: http://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)

FAQ

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?