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

Sell Your Book With PayPal and We’ll Deliver

Difficulty: DIFFICULT, requires a lot of patience

With BookFunnel Delivery Actions, you can sell your book through PayPal 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.

PayPal is more complicated to set up, but we will walk you through it step by step. First we will save the delivery settings for PayPal, then we will tell PayPal where to bounce the buyer after purchase, and finally, we will create a delivery action for your book.

PayPal Delivery Settings (10 minutes)

It takes about ten minutes to save the delivery settings for your PayPal account, but you only have to do this one time.

This delivery setting tells PayPal to bounce buyers immediately to their private download link upon purchasing your book. We will also add a webhook as a backup method in case the buyer closes the browser mid-transaction. You must have a PayPal Business account. Learn how to upgrade to PayPal Business.

Step One – Delivery Settings on BookFunnel

To set the delivery settings for your PayPal account:

  1. Click Sales on your BookFunnel dashboard and click Delivery Settings
  2. Click the checkbox for PayPal
  3. Highlight and copy your PayPal webhook
  4. Leave the Delivery Settings pop-up open for now
Step Two – Turn on PayPal PDT

To turn on PayPal Payment Data Transfer, or PDT:

  1. Log into PayPal in a separate browser window and update your website preferences.
    1. Is that link not working? Click Profile in the top-right corner of your PayPal dashboard and select Profile And Settings
    2. Click My Selling Tools on the right side of your PayPal dashboard
    3. Next to Website Preferences, click Update
  2. Turn on Auto Return
  3. Paste your PayPal webhook into the Return URL field (Learn more about PayPal’s “Return URL” requirements below)
  4. Turn on Payment Data Transfer
  5. Click save at the bottom of the form and reload the web page
  6. The PayPal Identity Token should appear
Step Three – PayPal Identity Token
  1. Highlight and copy the Identity Token that appears under Payment Data Transfer (repeat Step Two above if you do not see the Identity Token)
  2. Return to your BookFunnel dashboard
  3. Paste the identity token into “Your PayPal Identity Token” in the Delivery Settings dialogue
  4. If you sell other items on PayPal that BookFunnel will not be delivering, tell us where to send those buyers (Typically, this is a thank-you page on your website. Please note that buyers will not be bounced to your Redirect URL if they are downloading a book from BookFunnel. Learn more about PayPal’s “Return URL” requirements below.)
  5. Click Save Settings

Now PayPal will send buyers straight to the BookFunnel download page when they buy your book.

Step Four – Turn on PayPal IPN

To turn on PayPal Instant Payment Notifications or IPN:

  1. On your BookFunnel dashboard, highlight and copy your PayPal webhook again
  2. Log into PayPal in a separate browser window and update Instant payment notifications.
    1. Is that link not working? Click Profile in the top-right corner of your PayPal dashboard and select Profile And Settings
    2. Click My Selling Tools on the right side of your PayPal dashboard
    3. Next to Instant payment notifications, click Update
  3. Click Choose IPN Settings
  4. Paste your PayPal webhook into the Notification URL field
  5. Enable Receive IPN messages
  6. Click Save

That’s it! You only have to do this the one time, so now we can move on to creating delivery actions for your books.

PayPal Delivery Actions (5 minutes)

Next, we’ll create a delivery action for each book (or item) that we should deliver. If we receive a PayPal transaction for an item that does not have a BookFunnel delivery action, we will simply ignore it and bounce the reader instantly to the PayPal Redirect URL you provided in your PayPal Delivery Settings.

Like other sellers, you’ll need to add each item you want to sell to your PayPal account. PayPal does this in the form of a PayPal buy now button you create and then place on your website anywhere that you want readers to buy the book. Learn more about creating a PayPal Buy Now button

To create your PayPal Delivery Action:
  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 created more than one delivery setting, select PayPal
  5. Highlight and copy the PayPal Item ID
  1. Log into PayPal in a separate browser window and view your saved buttons.
    1. Is that link not working for you? Click Profile in the top-right corner of your PayPal dashboard and select Profile And Settings
    2. Click My Selling Tools on the right side of your PayPal dashboard
    3. Next to PayPal Buttons, click Update
  2. You must already have created the PayPal Buy button for this product.
  3. Find the PayPal button for the item we should deliver and click Action (The button must only be a buy button. It cannot be a shopping cart, have a drop-down menu or price, or have any text in the text field.)
  4. Select Edit Button
  5. Paste the PayPal Item ID into the Item ID field
  6. Click Save Changes and you will be taken to the button code to embed on your website
  7. Instead of the button code in the Website tab, click the Email tab and you will see a link
  8. Highlight and copy the PayPal item link
  9. Return to your BookFunnel dashboard and paste the PayPal Item Link
  10. You can optionally bounce buyers to a thank-you page on your own website instead of to the download page, but we do not recommend it
  11. Leave this delivery action paused until you are ready to activate it
  12. You can optionally customize the delivery email and delivery page settings
  13. 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.01 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, see tips below.

When The Test Fails

If you test the process and do not bounce to your download page after purchase, or if you see an error message, 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 (no PDT? No Item ID?).
  • If the delivery failed because the delivery action was paused, you can click the send button next to the transaction to send the 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 PayPal delivery settings. Walk through the delivery settings again.
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

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.

PayPal Return URL Requirements

What is a Return URL?

When a buyer completes a purchase on PayPal, you can specify where you want that buyer to be sent immediately after payment completion. PayPal requires certain text to be on the screen, so we will include the recommended text at the top of the download page.

What text must be displayed at the top of the page?

“Thank you for your purchase. Your transaction has been completed, and a receipt for your purchase has been emailed to you. You may log into your account at www.paypal.com to view details of this transaction.”

What will happen when I sell an item on PayPal that isn’t intended for BookFunnel delivery?

If we receive a PayPal transaction that does not have a corresponding delivery action, we will ignore the transaction and bounce your buyer to the redirect URL you specified in your PayPal Delivery Settings.

Do you want to handle tech support?

NOPE! Of course not. Add this to your receipt email 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

Why does BookFunnel use PDT and IPN (webhook)?

PDT (Payment Data Transfer) is instant and PayPay’s recommended method to notify services of a completed transaction. With PDT, your buyers will immediately have access to the book download. PayPal does not recommend IPN for delivery of digital goods. We don’t want readers to have to wait to have access to their download link, so instead, we use PDT.

We still set up IPN, just in case something hiccups. With IPN, we will be notified that the reader purchased a book and can send them a delivery email. IPN isn’t “instant”, but it is reliable.

Why is another URL on another website not recommended?

You can bounce readers straight to a thank-you page on your own website, but that means they will have to wait for the BookFunnel delivery email. While we send it instantly, email can be slow to arrive and can often wind up in spam or “Promotions”. The fastest way for readers to access their new purchase is to take them straight to the BookFunnel download page after their payment is processed.

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

There is no delay when you sell through PayPal on your own website.

Does BookFunnel send a delivery email, even if the buyer immediately downloads the book?

Yes, we will always send a delivery email to your buyer. The download link they receive is valid for two weeks. If they are unable to download the book files during that time, they can always request additional time from BookFunnel.

Why do I have to add an Item ID to my button?

PayPal sends some data along with the Payment Data Transfer, but it isn’t enough for BookFunnel to know which book to deliver. The Item ID is the only way we can deliver the correct book. Without an Item ID, BookFunnel will ignore the sales transaction.

I already deliver the book files through my website/Dropbox/Google Drive. Can you just handle the tech support?

Yes! You will need to create a delivery action for your item. Then you can customize the email your readers see. Since your readers 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.”

Was this article helpful?