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.
This commit is contained in:
2026-07-14 18:35:50 -04:00
parent 40266cf811
commit 41475f4a5a
8 changed files with 171 additions and 12 deletions
+4
View File
@@ -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"