Repository navigation
feat(finance): 5% infrastructure fee and organiser commission accounting - #59
Merged
Merged
Conversation
…ed checkout, WCAG tokens & WhatsApp notifications - Add migration 029 introducing event_sessions with venue overrides per occurrence and category metadata on ticket_types, bookings, tickets and ticket_scans - Implement recurring series Option A (same venue) and Option B (per-session venue) in event schedule domain, wizard UI, validation, and ticket issuing - Support category-based ticket pricing & capacity accounting (General, Men, Women, Couple with admit_count=2, Group with admit_count=4, VIP, Early Bird, Custom) - Rebuild mobile-first UPI paid ticket checkout eliminating 'Paid Draft — External Checkout Pending' with automated provider verification and fail-closed state machine - Integrate WhatsApp Cloud API booking confirmations with session-specific venue details, encrypted pass link, and automated dispatch - Implement centralized WCAG 2.2 AA design tokens ensuring >= 4.5:1 text and >= 3:1 UI boundary contrast across all dark indigo cards, inputs, and dialogs - Add comprehensive test suites for migrations, accessibility contrast, recurring venues, category ticket pricing, and end-to-end automated checkout
…pp consent & delivery reliability
…ueue - Add upfront idempotency check in recordBookingFeeEntry to prevent double-counting of fee payable and duplicate invoice lines - Prevent cross-organiser invoice allocations and invalid invoice status in confirmFeePayment - Enforce strict ownership check on invoiceId/paymentReference in submitFeePayment - Validate evidence screenshot URLs against URL injection / unsafe schemes - Add state machine guards against re-rejecting or investigating settled/rejected claims - Add rate limits on organiser finance endpoints and CSV statement export - Add proof evidence preview column in admin payment verification queue - Add comprehensive automated tests covering all hardened security and accounting scenarios
…th organiser_user_id - Align createUpiPaymentIntent with recordBookingFeeEntry by only accruing 5% infrastructure fee for organiser-managed events - Preserve existing internal/feed event and direct platform ticket checkout amounts - Fixes CI test failure in test/upi-checkout.test.js
…ment notice assertion
…nfigured settlement claims, and add regression tests
…-hardening fix(finance): infrastructure fee accounting security hardening & verification gate
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Objective
Deliver transparent 5% organiser-side infrastructure fee accounting across attendee checkout, organiser dashboard, and admin finance console, incorporating all security hardening, fail-closed guards, and critical remediations.
Included Milestones & Remediations
All 1,085+ unit/integration tests and 622 browser E2E tests passing cleanly.