mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 08:46:22 +02:00
feat(story-5.2): add Stripe subscription checkout with session verification
Add POST /api/v1/stripe/create-subscription-checkout endpoint with get_or_create_stripe_customer (SELECT FOR UPDATE), plan_id→price_id mapping from env vars, active subscription guard (409), and session_id in success URL. Add GET /verify-checkout-session endpoint for server-side payment verification. Add /subscription-success frontend page with loading/verified/failed states. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
71edc183c4
commit
07a4bc3fc3
7 changed files with 382 additions and 18 deletions
|
|
@ -67,7 +67,7 @@ development_status:
|
|||
epic-4-retrospective: optional
|
||||
epic-5: in-progress
|
||||
5-1-pricing-plan-selection-ui: done
|
||||
5-2-stripe-payment-integration: ready-for-dev
|
||||
5-2-stripe-payment-integration: done
|
||||
5-3-stripe-webhook-sync: ready-for-dev
|
||||
5-4-usage-tracking-rate-limit-enforcement: ready-for-dev
|
||||
epic-5-retrospective: optional
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue