Skip to content

feat: pymthouse plans + subscribe checkout - #8

Open
eliteprox wants to merge 6 commits into
feat/pymthouse-integrationfrom
feat/pymthouse-plans-subscribe
Open

feat: pymthouse plans + subscribe checkout#8
eliteprox wants to merge 6 commits into
feat/pymthouse-integrationfrom
feat/pymthouse-plans-subscribe

Conversation

@eliteprox

@eliteprox eliteprox commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add GET /api/pymthouse/plans and POST /api/pymthouse/subscribe BFF routes via @pymthouse/builder-sdk listBillingProducts / createBillingCheckout
  • Surface a Plans panel on Usage so we can exercise end-user checkout against pymthouse before relying on NaaP
  • Pins @pymthouse/builder-sdk to published 0.6.3

Test plan

  • With pymthouse M2M + PYMTHOUSE_PUBLIC_CLIENT_ID set, open /usage and confirm active plans load
  • Click Subscribe and confirm redirect to Stripe Checkout URL
  • pnpm typecheck / pnpm lint

Stacked on: #3

Wire BFF routes and PlansPanel through builder-sdk createBillingCheckout
so dashboard can exercise end-user checkout against pymthouse before NaaP.
@eliteprox
eliteprox requested a review from adamsoffer as a code owner August 6, 2026 02:30
@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dashboard Error Error Aug 7, 2026 2:37am

Request Review

builder-sdk#50 merged and published; drop the git branch pin and the
onlyBuiltDependencies workaround needed for prepare-on-install.
@eliteprox

Copy link
Copy Markdown
Collaborator Author

Pinned to published @pymthouse/builder-sdk@0.6.2 now that pymthouse/builder-sdk#50 is merged.

Resolve dep conflict on the stacked base; keep createBillingCheckout
plus the 0.6.3 Sonar/CI security patch.
@eliteprox

Copy link
Copy Markdown
Collaborator Author

Synced with #3 and bumped pin to @pymthouse/builder-sdk@0.6.3.

Add merchant card controls and invoice links through the billing BFF so users
can manage their payment method and access Connect-hosted invoices.
Wire useBillingAccount into BillingSection: live payment method list
with Set-as-default and Remove (confirm) row actions, live invoice
table with View/PDF links resolved via the Stripe hosted-url endpoint,
and updated copy ("Stripe invoices for this account"). Removes static
blur/WIP overlay and fake billing-details block; plan section stays
static pending subscribe-flow work.
Keep plan actions aligned with the current PymtHouse subscription so active users change plans or resume checkout instead of creating conflicting subscriptions.
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