Repository navigation
feat(payments): direct organiser UPI payment integration and verification workflow - #63
Merged
Merged
Conversation
…tion workflow - Add migration 032: direct organiser upi settings, payment statuses, and append-only audit ledger - Implement direct UPI checkout with dynamic QR, payee intent, and transparent disclosures - Add organiser event wizard payment configuration (Free vs Direct UPI) with format validation - Implement payment verification state machine (awaiting_payment, payment_reported, payment_confirmed, payment_rejected, expired) - Add organiser payment management tab with explicit independently-verified bank credit confirmation requirement - Enforce inventory reservation holds and release on rejection/expiry - Add 15 automated test scenarios covering the full direct UPI lifecycle
|
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.
NIGHTLIFEZ — Direct Organiser UPI Payment Integration
Overview
Replaces the gateway-pending blocker with a direct organiser-to-attendee UPI payment architecture. Organisers configure their UPI ID and payee name during event creation, attendees pay directly to the organiser via dynamic UPI QR code or mobile deep link, and ticket issuance is gated by independent organiser verification of incoming bank credits.
Key Changes
migrations/032_direct_organiser_upi_payments.sql):payment_method,organiser_upi_id,organiser_payee_name, andpayment_instructionstoevents.booking_ref,direct_upi_status,utr_reference,payment_reported_at,verified_by_user_id,verified_at,verification_note, andrejection_reasontobookings.direct_upi_payment_audits.upi://pay?pa=...&pn=...&am=...&cu=INR&tn=....awaiting_payment->payment_reported->payment_under_review->payment_confirmed/payment_rejected/expired/cancelled.test/direct-organiser-upi.test.jscovering all 15 required scenarios.ENABLE_LIVE_PAYMENTS=false,UPI_CHECKOUT_ENABLED=false).npm run lint).