Skip to content

Add Portfolio Pro $99/mo checkout on pricing page - #3

Merged
cursor[bot] merged 1 commit into
mainfrom
cursor/portfolio-pro-pricing-84e6
Aug 22, 2026
Merged

cursor[bot] merged 1 commit into
mainfrom
cursor/portfolio-pro-pricing-84e6

Conversation

@Alexaliao001

Copy link
Copy Markdown
Owner

Summary

Adds Portfolio Pro ($99/mo, monthly only) as a buyable third tier on /pricing, wired to Stripe livemode product quantradar_portfolio_pro_monthly_v1.

What changed

  • Pricing page — three cash registers: Free, Pro ($29/mo + yearly toggle), Portfolio Pro ($99/mo, monthly only)
  • CheckoutPOST /api/billing/checkout accepts { "plan": "portfolio_pro" } and resolves price from STRIPE_PRICE_ID_PORTFOLIO_PRO_MONTHLY
  • Webhookcheckout.session.completed with metadata.product=quantradar_portfolio_pro sets plan=portfolio_pro
  • Accessportfolio_pro gets the same paid desk privileges as Pro (live gate, public surface)
  • Copy — honest: same desk access as Pro on this host today; portfolio batch/report workflow is roadmap, not sold as live

Deploy prerequisite (Render env)

Set on quantradar-shell:

STRIPE_PRICE_ID_PORTFOLIO_PRO_MONTHLY=price_1TDM067uBhbslGrGtxzYXEq1

Existing Pro vars unchanged (STRIPE_PRICE_ID_MONTHLY=price_1TDM027uBhbslGrGK7mMVtEp).

How to verify in livemode

  1. Deploy with STRIPE_PRICE_ID_PORTFOLIO_PRO_MONTHLY set to the live price above
  2. Sign in at https://quantradar.one/pricing
  3. Click Get Portfolio Pro → should redirect to Stripe Checkout for $99/mo
  4. Complete test payment → webhook should set plan=portfolio_pro in user store
  5. Confirm /api/auth/status returns "plan": "portfolio_pro"

Tests

All 88 unit tests pass, including new portfolio checkout metadata and webhook tests.

Open in Web Open in Cursor 

- Add portfolio_pro plan tier with Stripe checkout and webhook support
- Show third pricing card (Portfolio Pro $99/mo, monthly only)
- Wire checkout via plan=portfolio_pro using STRIPE_PRICE_ID_PORTFOLIO_PRO_MONTHLY
- Honest copy: same desk access as Pro today; portfolio features on roadmap
- Portfolio Pro grants same live/paid desk privileges as Pro
- Add tests for portfolio checkout metadata and webhook plan upgrade

Co-authored-by: Alexaliao001 <Alexaliao001@users.noreply.github.com>
@Alexaliao001
Alexaliao001 marked this pull request as ready for review August 22, 2026 04:27
@cursor
cursor Bot merged commit 0ca234b into main Aug 22, 2026
2 checks passed
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