diff --git a/content/books/example-book.md b/content/books/example-book.md new file mode 100644 index 0000000..2df528c --- /dev/null +++ b/content/books/example-book.md @@ -0,0 +1,15 @@ +--- +title: "Example Book Title" +author: "Author Name" +cover_image: "https://downloads.twosquirrelspress.com/covers/example-book.jpg" +description: "One-line jacket copy for listing pages." +stripe_price_id: "price_XXXXXXXXXXXXXXXXXXXXXXXX" +price_display: "$6.99" +formats: ["EPUB", "PDF"] +draft: true +--- + +Full jacket-copy / long description goes here. Duplicate this file for +each real book, fill in the real Stripe Price ID (create the Product in +the Stripe Dashboard first, with `tsp_book=true` and `file_key=...` set +in the Product's metadata), and remove `draft: true` to publish it. diff --git a/content/books/resend.md b/content/books/resend.md new file mode 100644 index 0000000..2c57b1f --- /dev/null +++ b/content/books/resend.md @@ -0,0 +1,8 @@ +--- +title: "Resend my download link" +description: "Lost your download link? Get a new one sent to your email." +layout: "book-resend" +--- + +Enter the email address you used when you bought a book, and if we find +a matching order we'll send a fresh download link to that address. diff --git a/content/books/thank-you.md b/content/books/thank-you.md new file mode 100644 index 0000000..af7cc9d --- /dev/null +++ b/content/books/thank-you.md @@ -0,0 +1,10 @@ +--- +title: "Thanks for your order" +description: "Your ebook purchase is complete." +--- + +Thanks for your purchase! Check your email in a moment for a link to +download your book. + +If it doesn't show up within a few minutes, check your spam folder, or +use the [resend form](/books/resend/) to get a fresh link sent to you. diff --git a/content/privacy.md b/content/privacy.md index 6c14f11..1f2695b 100644 --- a/content/privacy.md +++ b/content/privacy.md @@ -14,34 +14,49 @@ use of twosquirrelspress.com, and what happens to it. - Your name, email address, manuscript file, author bio, a description of your submission, the title or call it's for, and a headshot if you provide one, when you submit the submissions form. +- Your email address and order details, when you buy a book. Your payment + details (card number and so on) go directly to Stripe, our payment + processor — they never touch Two Squirrels Press's own servers. Two + Squirrels Press only ever receives your email address, which book you + bought, and confirmation that the payment succeeded. -That's it — this site doesn't run a newsletter, doesn't sell anything -directly, and doesn't use third-party analytics, ad trackers, or tracking -pixels. +This site doesn't run a newsletter, and doesn't use third-party analytics, +ad trackers, or tracking pixels. Checkout with Stripe is the one +third-party service in the loop, and it's there because payment processing +and tax compliance genuinely can't be handled responsibly by a small press +running its own servers. ## Why Two Squirrels Press collects it - To respond to messages sent through the contact form. - To evaluate submissions sent through the submissions form. +- To fulfill book purchases (send your download link) and handle any + refund requests. ## What Two Squirrels Press doesn't do - Two Squirrels Press doesn't sell or rent your information to anyone. - Two Squirrels Press doesn't share it with third parties except the - infrastructure providers necessary to run this site and deliver that - email — none of whom get to use it for their own purposes. + infrastructure providers necessary to run this site, deliver that email, + and process a payment — currently: Stripe, for payment processing — none + of whom get to use it for their own purposes. ## Your control over it - **Deletion**: reach out through [the contact form](/contact/) and Two - Squirrels Press will delete your information from these systems. + Squirrels Press will delete your information from these systems. (Stripe + keeps its own transaction records as required by law and its own + policies — that retention isn't something Two Squirrels Press controls.) ## Security -Your information is stored on infrastructure Two Squirrels Press controls -directly, not handed off to third-party SaaS platforms. That doesn't make -it invulnerable — no system is — but it does mean there's exactly one place -your data lives, and one party accountable for it. +Most of your information is stored on infrastructure Two Squirrels Press +controls directly. The one exception is payment processing: Stripe, acting +as merchant of record, handles your card details and tax compliance +directly, and Two Squirrels Press never sees or stores your card number. +That doesn't make any of this invulnerable — no system is — but it does +mean there's exactly one clearly accountable party for each piece of your +data. ## Changes diff --git a/content/terms.md b/content/terms.md index 95112b6..48cd669 100644 --- a/content/terms.md +++ b/content/terms.md @@ -5,14 +5,26 @@ description: "Terms for using twosquirrelspress.com." _Last updated: July 2026_ -These terms cover using twosquirrelspress.com and submitting the contact -form. +These terms cover using twosquirrelspress.com, submitting the contact or +submissions form, and buying a book. ## Using this site This site is provided as-is, for informational purposes about Two Squirrels Press, its books, and its authors. +## Buying a book + +Payments are processed by Stripe, acting as merchant of record — Stripe +handles your card details, sales tax, and VAT directly. Two Squirrels +Press never sees or stores your card number. + +Ebooks you buy are for your own personal use — please don't redistribute +or resell the files. Because these are digital downloads, all sales are +final except where required by law; if something's gone wrong with your +purchase (wrong file, failed download, etc.) [get in touch](/contact/) +and we'll sort it out. + ## No warranty This site and its content are provided without warranties of any kind, diff --git a/hugo.toml b/hugo.toml index 2fb7af0..1501995 100644 --- a/hugo.toml +++ b/hugo.toml @@ -13,6 +13,10 @@ disableKinds = ["taxonomy", "term"] author = "Will Estes" description = "Two Squirrels Press — character-driven speculative fiction and poetry." eec_base_url = "https://eec.twosquirrelspress.com" + bookshop_base_url = "https://shop.twosquirrelspress.com" + # Publishable key is safe to commit (it's meant to be public) — fill in + # the real key once the Stripe account is set up. + stripe_publishable_key = "" [[menu.main]] name = "Books" diff --git a/layouts/books/book-resend.html b/layouts/books/book-resend.html new file mode 100644 index 0000000..1c0e224 --- /dev/null +++ b/layouts/books/book-resend.html @@ -0,0 +1,43 @@ +{{ define "main" }} +
+{{ end }} +{{ .Content }} +{{ with .Params.stripe_price_id }} +
{{ . }}
{{ end }} + +