Repository navigation
Hosted: run the local entry on Stripe test mode, and write down the Stripe setup - #1559
Merged
Merged
Conversation
…tripe setup The local entry takes the five STRIPE_* bindings from its environment and runs real Stripe, refusing a live key, so billing can be exercised beyond StripeDev. The README says how, including that `stripe listen` cannot carry billing's webhook, and gains the account setup a release needs: Prices, Tax, the portal, retries, emails, and an endpoint on the pinned API version with its events. It also stops saying the account Worker has no Cron Trigger. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Deploying mouseterm with
|
| Latest commit: |
59964bd
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://3b8165b9.mouseterm.pages.dev |
| Branch Preview URL: | https://stripe-sandbox.mouseterm.pages.dev |
dormouse-bot
approved these changes
Nov 3, 2026
19 of 27 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of the billing release gate, #1074. Billing still ships closed; this changes nothing in production.
hosted/server/dev.tsuses the fiveSTRIPE_*bindings when they are all in its environment, and refuses a live key. Without them it uses StripeDev as before.hosted/README.md-> "Run against Stripe test mode":stripe listendelivers events at the account's default API version even with--use-configured-webhooks, which billing refuses with 400, so a real endpoint on the pinned version and a tunnel limited to the webhook path are needed. Also covers test clocks.hosted/README.md-> "Stripe setup": the account settings billing assumes, which were written down nowhere: Prices, Tax, the portal with plan switching off, 2-month retries then cancel, customer emails, and the webhook endpoint with its pinned version and events.dormouse-hostedhas no Cron Trigger; it has billing's*/10 * * * *.Exercised against a Stripe sandbox on 2026-11-03:
hosted/servertypechecks, and the local entry ran the purchase, refund, withdrawal, closure, failed-payment, dispute, and resent-event scenarios. Results go on #1074. No automated test covers the switch, since nothing testsdev.ts.🤖 Generated with Claude Code