gitbook icon indicating copy to clipboard operation
gitbook copied to clipboard

How to switch a free book to a paid one

Open naturalprogrammer opened this issue 11 years ago • 10 comments

I've published a book, which is free now. I want to make it paid ($ 9). As I gather, it's not possible through the settings. Could you please let me know what steps I could follow to make it paid?

naturalprogrammer avatar Nov 22 '15 02:11 naturalprogrammer

Hidden this option?I see last week now can't see. :x:

fizzvr avatar Nov 24 '15 02:11 fizzvr

We are now longer offering this option directly in gitbook.com. Instead we are building integrations with existing sales platform to help you sale your private GitBook on it.

Our first integration is with Gumroad, it's open source and on GitHub.

I'm currently writing some documentation on how to use this integration, but basically here is how it works:

  1. Create a private book on gitbook.com
    1. Write your book
  2. Signup on Gumroad
  3. Enable the developer mode of your Gumroad account
  4. Create a product with a webhook
  5. Enter the webhook url: https://gumroad-service.gitbook.com/webhook/:author/:book/:gitbookApiToken
  6. Share your Gunroad product!

Everytime someone buy your Gumroad product, it will create an access key on your private GitBook; the reader will be able to access the web version of your book.

Overall this integration is better for readers and authors:

  • Gumroad offers an awesome buying experience
  • Author can have a nice designed page that present their product
  • Author will earn more royalties (Gumroad is taking 5%)

Let me know if you need help or have any feedback about this.

SamyPesse avatar Nov 24 '15 14:11 SamyPesse

Sounds great!

So, the users who would have bought the book will be able to access the web version from any PC and browser? For that, they will need to login into their GitBook account, Gumroad account, or both? It would be great you publish the documentation on it early, so that we can tell our readers to refer that for accessing the web version of the book.

naturalprogrammer avatar Nov 24 '15 14:11 naturalprogrammer

The reader does not require a Gumroad or GitBook account, it just need to enter his email.

Once the reader bought the book (using a credit card or PayPal), it will be redirected to a private url to access the content. It'll also receive an email from Gunroad that contains this url.

I'll publish the documentation this week, this documentation is intended for authors. the user-experience for readers is really easy (and doesn't require documentation).

SamyPesse avatar Nov 24 '15 14:11 SamyPesse

Awesome!

naturalprogrammer avatar Nov 24 '15 14:11 naturalprogrammer

I am trying it out, and finding that it is working well for books directly in my account (sanjay/:book). But, for the book which is under an organization that I have created (naturalprogrammer/spring-lemon-getting-started), the webhook isn't working. I tried both these webhook urls:

https://gumroad-service.gitbook.com/webhook/sanjay/spring-lemon-getting-started/:api-key
https://gumroad-service.gitbook.com/webhook/naturalprogrammer/spring-lemon-getting-started/:api-key

but neither is working.

naturalprogrammer avatar Nov 26 '15 05:11 naturalprogrammer

Also, one feedback. If the URLs of the paid books would now be different for different users, we wouldn't be able to post a link to a page of a paid book from another book or website. That looks like a notable shortcoming to me - do you see a way for this?

naturalprogrammer avatar Nov 26 '15 08:11 naturalprogrammer

Yes the service doesn't support organization for now, but I'm working on it. I'm also working on a better UX for authors with login via GitBook, then login via Gumroad, and a simple UI to add the webhook.

The only URL that you'll need to share will be the Gumroad URL. The URL on gitbook.com will be private. If you post a link to this book, visitors will get a 404, except if they bought the book on this device (the access key is stored in a cookie session).

SamyPesse avatar Nov 27 '15 18:11 SamyPesse

Any updates on support for organizations on this?

bronestly avatar Jun 21 '16 09:06 bronestly

Any updates on organisation support? Bit annoyed I signed up for a paid personal account and then an organisation account. But couldn't find a way to link it to my github organisation's private repos. I've cancelled my accounts now.

AlastairTaft avatar Sep 08 '16 02:09 AlastairTaft