Skip to content

Billing: update the payment card - #1992

Merged
RhysSullivan merged 5 commits into
mainfrom
change-billing-card
Sep 15, 2026
Merged

RhysSullivan merged 5 commits into
mainfrom
change-billing-card

Conversation

@RhysSullivan

@RhysSullivan RhysSullivan commented Sep 15, 2026

Copy link
Copy Markdown
Collaborator

Adds a "Payment method" row to the billing page showing the card on file.

  • No card: "Add card" opens Autumn's hosted setup session. On return the page shows the card as updating and refetches until the provider's webhook sets the default card, so it appears without a reload.
  • Card on file: "Update card" opens the billing portal. Verified against the live Autumn sandbox that a setup session never replaces an existing default card, so changing it goes through the portal. One refetch on return reflects the new default.
  • Reads the card via the payment_method expand on the customer. No server changes.
  • New e2e scenario cloud/billing-payment-method-update.test.ts covering both journeys, plus settleSetup / paymentMethod on the Autumn e2e surface.
  • Bumps @executor-js/emulate to 0.14.2 for the emulated setup and portal flows.

🤖 Generated with Claude Code

session.mp4

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 15, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud 1646e6a Sep 15 2026, 02:12 AM

@github-actions

github-actions Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Cloudflare preview

Torn down — the PR is closed.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 15, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing 1646e6a Commit Preview URL

Branch Preview URL
Sep 15 2026, 02:10 AM

@pkg-pr-new

pkg-pr-new Bot commented Sep 15, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@1992

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@1992

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@1992

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@1992

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@1992

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@1992

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@1992

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@1992

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@1992

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@1992

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@1992

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@1992

executor

npm i https://pkg.pr.new/executor@1992

commit: 1646e6a

@RhysSullivan
RhysSullivan marked this pull request as ready for review September 15, 2026 02:12
@RhysSullivan
RhysSullivan merged commit 7422219 into main Sep 15, 2026
44 checks passed
@RhysSullivan
RhysSullivan deleted the change-billing-card branch September 15, 2026 02:12
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.

1 participant