Wire up real Stripe sandbox test key and example book price ID
deploy / deploy (push) Successful in 11s
deploy / deploy (push) Successful in 11s
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.
This commit is contained in:
@@ -3,7 +3,7 @@ title: "Example Book Title"
|
|||||||
author: "Author Name"
|
author: "Author Name"
|
||||||
cover_image: "https://downloads.twosquirrelspress.com/covers/example-book.jpg"
|
cover_image: "https://downloads.twosquirrelspress.com/covers/example-book.jpg"
|
||||||
description: "One-line jacket copy for listing pages."
|
description: "One-line jacket copy for listing pages."
|
||||||
stripe_price_id: "price_XXXXXXXXXXXXXXXXXXXXXXXX"
|
stripe_price_id: "price_1TtYspQEDYBEXYYF8YINz8y3"
|
||||||
price_display: "$6.99"
|
price_display: "$6.99"
|
||||||
formats: ["EPUB", "PDF"]
|
formats: ["EPUB", "PDF"]
|
||||||
draft: true
|
draft: true
|
||||||
|
|||||||
@@ -14,9 +14,10 @@ disableKinds = ["taxonomy", "term"]
|
|||||||
description = "Two Squirrels Press — character-driven speculative fiction and poetry."
|
description = "Two Squirrels Press — character-driven speculative fiction and poetry."
|
||||||
eec_base_url = "https://eec.twosquirrelspress.com"
|
eec_base_url = "https://eec.twosquirrelspress.com"
|
||||||
bookshop_base_url = "https://shop.twosquirrelspress.com"
|
bookshop_base_url = "https://shop.twosquirrelspress.com"
|
||||||
# Publishable key is safe to commit (it's meant to be public) — fill in
|
# Publishable key is safe to commit (it's meant to be public). This is
|
||||||
# the real key once the Stripe account is set up.
|
# the Two Squirrels Press sandbox/test-mode key — swap to the live-mode
|
||||||
stripe_publishable_key = ""
|
# publishable key as part of go-live (see the plan's verification steps).
|
||||||
|
stripe_publishable_key = "pk_test_51TtYRgQEDYBEXYYF870hcDq58pl5MgT9evlYdgVE19VVXzNGA1DnVUX0lDTFpKJGShUHDT6NlIhiqz7u6YHPvX6x00rKIk2T3v"
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
name = "Books"
|
name = "Books"
|
||||||
|
|||||||
Reference in New Issue
Block a user