I want to be able to sell ebooks from my new website (which is still under construction). I don’t need a full shop, just the ability to add a buy now button to several different books, and when someone does buy, give them the option to download the ebook they have purchased.
If there is an option to pick a format, such as epub, mobi or pdf, that would be great. And for each format, there would have to be a different download.
I would be happy to connect with PayPal for payment. I could use a PayPal button, if necessary, but that still leaves the instant download issue.
My questions are:
Is the above possible?
Would the download be secure?
Would the actual files be hidden from the public, considering I will be using GitHub which is mainly a file sharing website?
What about using https://leanpub.com? They have a storefront to support payments, and provide a landing page for each book. It might be worth looking into.
You can upload your own book, or write on their site in Markdown, then convert that to various formats like EPUB, PDF, etc.