Skip to content

feat: add Stripe-based event ticketing and admin controls#14

Merged
CaseyHercules merged 5 commits into
mainfrom
feat/event-ticketing-stripe-cff-pr
May 4, 2026
Merged

feat: add Stripe-based event ticketing and admin controls#14
CaseyHercules merged 5 commits into
mainfrom
feat/event-ticketing-stripe-cff-pr

Conversation

@CaseyHercules

Copy link
Copy Markdown
Owner

Summary

  • add a ticketing data model for events with ticket types, promo-code relations, checkout/session identifiers, and migration support
  • implement Stripe checkout + webhook fulfillment, plus super-admin refund actions and transactional email hooks via Resend
  • add admin ticketing management UI (ticket types, promo codes, assignment, Miniphaze seed), and restrict sensitive event location/payment details for non-admins

Test plan

  • npm run postinstall
  • npx eslint --no-error-on-unmatched-pattern \"src/lib/api-auth.ts\" \"src/lib/stripe.ts\" \"src/lib/email.ts\" \"src/lib/actions/event-ticketing.ts\" \"src/app/api/events/[id]/checkout/route.ts\" \"src/app/api/stripe/webhook/route.ts\" \"src/app/(admin)/admin/events/[id]/components/TicketingAdminPanel.tsx\" \"src/app/(admin)/admin/events/[id]/page.tsx\" \"src/components/EventDisplay.tsx\" \"src/components/EventRegistrationModal.tsx\" \"src/app/(user)/events/page.tsx\" \"src/app/(user)/events/[id]/page.tsx\" \"src/app/(user)/events/[id]/components/EventPageContent.tsx\" \"src/app/(user)/events/[id]/components/EventRegistrationSection.tsx\" \"src/app/(user)/events/registration/page.tsx\" \"src/app/api/events/[id]/route.ts\"
  • run Stripe test-mode checkout and webhook replay in staging
  • run super-admin refund flow and verify email delivery with real env vars

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented May 4, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
interphaze-pocket-scholar Error Error May 4, 2026 3:44am

Co-authored-by: Cursor <cursoragent@cursor.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented May 4, 2026

Copy link
Copy Markdown

Deploying interphazepocketscholar with  Cloudflare Pages  Cloudflare Pages

Latest commit: ef89a3c
Status:🚫  Build failed.

View logs

CaseyHercules and others added 2 commits May 3, 2026 20:57
Co-authored-by: Cursor <cursoragent@cursor.com>
@CaseyHercules CaseyHercules merged commit a127a58 into main May 4, 2026
3 of 5 checks passed
@CaseyHercules CaseyHercules deleted the feat/event-ticketing-stripe-cff-pr branch May 4, 2026 04: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.

1 participant