From db7a128c74a49d6c2de3cbafbc98583cc65ce6f1 Mon Sep 17 00:00:00 2001 From: Will Estes Date: Wed, 15 Jul 2026 16:31:06 -0400 Subject: [PATCH] Wire up real Stripe sandbox test key and example book price ID From the Two Squirrels Press Stripe sandbox account created and walked through Managed Payments setup for. Both values are test-mode / safe to commit; swap to live-mode equivalents at go-live. --- content/books/example-book.md | 2 +- hugo.toml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/content/books/example-book.md b/content/books/example-book.md index 2df528c..54071c7 100644 --- a/content/books/example-book.md +++ b/content/books/example-book.md @@ -3,7 +3,7 @@ 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" +stripe_price_id: "price_1TtYspQEDYBEXYYF8YINz8y3" price_display: "$6.99" formats: ["EPUB", "PDF"] draft: true diff --git a/hugo.toml b/hugo.toml index 1501995..9764854 100644 --- a/hugo.toml +++ b/hugo.toml @@ -14,9 +14,10 @@ disableKinds = ["taxonomy", "term"] 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 = "" + # Publishable key is safe to commit (it's meant to be public). This is + # the Two Squirrels Press sandbox/test-mode key — swap to the live-mode + # publishable key as part of go-live (see the plan's verification steps). + stripe_publishable_key = "pk_test_51TtYRgQEDYBEXYYF870hcDq58pl5MgT9evlYdgVE19VVXzNGA1DnVUX0lDTFpKJGShUHDT6NlIhiqz7u6YHPvX6x00rKIk2T3v" [[menu.main]] name = "Books"