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: A little tricky, requires some 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 a little 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 back-up method in case the buyer closes the browser mid-transaction. You must have a PayPal Business account. Learn how to upgrade to PayPal Business.

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

There are two things we need to do on PayPal to set things up. The first is to setup what PayPal calls 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. Highlight and copy the Identity Token
  6. Return to your BookFunnel dashboard and paste the identity token into “Your PayPal Identity Token”
  7. 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.)
  8. Click Save Settings

Done! You have saved your PayPal settings. Now PayPal will send buyers straight to the BookFunnel download page when they buy your book. You will not need to edit these settings again unless you create a new PayPal account.

The second thing we need to turn on is what PayPal calls 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 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

Go to PayPal to paste the item ID and retrieve the PayPal Item link:

  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. 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 dropdown menu or price, or have any text in the text field.)
  3. Select Edit Button
  4. Paste the PayPal Item ID into the Item ID field
  5. Click Save Changes and you will be taken to the button code to embed in your website
  6. Instead of the button code in the Website tab, click the Email tab and you will see a link
  7. Highlight and copy the PayPal item link
  8. Return to your BookFunnel dashboard and paste the PayPal Item Link
  9. 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
  10. Leave this delivery action in test mode until you are ready to activate it
  11. You can optionally customize the delivery email and delivery page settings
  12. Save And Close your new delivery action

Do you want to test your new delivery actions to make sure everything is working as expected? Of course you do!

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. While in test mode, you can purchase your book using one of your test email addresses and BookFunnel will send a delivery email. This allows you to test the entire process before you make the delivery action live.

Remember to turn off test mode once you have checked everything and are ready to activate the delivery action.

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)

Don’t see support for your favorite sales platform? Drop us a line and let us know!

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.

Press here to reveal

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 a new download link 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?