Files
twosquirrelspress-site/content/books/example-book.md
T
will 41475f4a5a Add Stripe embedded checkout to book pages
Replaces the gumroad_url stub with an on-site embedded checkout (buy
button -> POST to the bookshop backend -> mounted Stripe iframe),
following the existing contact/submissions form's fetch/status-message
pattern. Adds thank-you and resend-link pages, an example book template
(draft), and updates the privacy policy and terms to honestly disclose
Stripe as a third-party payment processor.
2026-07-14 18:35:50 -04:00

586 B

title, author, cover_image, description, stripe_price_id, price_display, formats, draft
title author cover_image description stripe_price_id price_display formats draft
Example Book Title Author Name https://downloads.twosquirrelspress.com/covers/example-book.jpg One-line jacket copy for listing pages. price_XXXXXXXXXXXXXXXXXXXXXXXX $6.99
EPUB
PDF
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.