Skip to content

Hosted runbook: a restored founder's invoice takes only a card - #1592

Merged
nedtwigg merged 2 commits into
mainfrom
restore-card-only
Nov 6, 2026
Merged

nedtwigg merged 2 commits into
mainfrom
restore-card-only

Conversation

@nedtwigg

@nedtwigg nedtwigg commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Found running hosted/README.md -> "Restore a founding lock" in the Stripe sandbox (2026-11-06, for #1074).

The runbook's stripe subscriptions create worked as written:

  • It made the subscription on the locked $50 Price, and Hosted answered every webhook with 200.
  • Once paid, /billing showed Founding at $50 a year, renewing.

But the hosted invoice page it sends the founder offered Bank, Cash App Pay, and Klarna beside the card, because a subscription created outside Checkout takes the account's payment methods. Checkout's session asks for cards (pgstencil sends payment_method_types: ['card']), though Link still adds its "Pay with Bank" there. The restore invoice is now card-only, which also drops Link; that is deliberate for a payment arranged by hand.

  • The command now adds -d "payment_settings[payment_method_types][0]=card". Checked in the sandbox: the invoice page then shows only "Pay with card", and Stripe accepts the parameter with default_incomplete.
  • "Try it once in a Stripe sandbox before its first real use" becomes the date it was checked.

🤖 Generated with Claude Code

The sandbox run of the restore showed its hosted invoice page offering bank, Cash App Pay, and Klarna beside the card, from the account's payment methods.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Deploying mouseterm with  Cloudflare Pages  Cloudflare Pages

Latest commit: 745245a
Status: ✅  Deploy successful!
Preview URL: https://aff86c81.mouseterm.pages.dev
Branch Preview URL: https://restore-card-only.mouseterm.pages.dev

View logs

@dormouse-bot dormouse-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The card-only invoice is described as matching Checkout, but per this README's own Link setup, Checkout also offers "Pay with Bank". The suggestion below drops that comparison. If the goal was really parity with Checkout, [0]=card plus [1]=link would get closer.

Comment thread hosted/README.md Resolved
@nedtwigg
nedtwigg merged commit c20a2c0 into main Nov 6, 2026
15 checks passed
@nedtwigg
nedtwigg deleted the restore-card-only branch November 6, 2026 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants