๐Ÿ’ก Inspiration Modern commerce moves at lightning speed, yet businesses still struggle with fragmented payment visibility. When customers check out online, merchants often face an agonizing lag between authorization, fund capture, and accounting ledger updates. Traditional merchant dashboards are either overloaded with cryptic developer jargonโ€”raw webhook signatures, complex JSON payloads, and unparsed event schemasโ€”or disconnected from the business tools teams actually use every day, such as Slack, Google Sheets, and QuickBooks. We built PayPilot to bridge this gap. We wanted to create an executive-grade payment cockpit that makes processing, capturing, and monitoring PayPal transactions as effortless as sending an email, while giving business operators enterprise-grade grid analytics and instant automation out of the box. ๐Ÿš€ What It Does PayPilot is a real-time payment operations and financial settlement platform that combines direct PayPal REST integration with high-performance grid computing and automated workflow dispatch: Virtual Point-of-Sale (Quick Charge): Merchants can generate custom customer checkout links in seconds, authorize payments, and execute instant fund capture into settled balances. 100% AG Grid Enterprise Ledger: Replaced standard static tables with a virtualized AG Grid Enterprise v36 data grid featuring multi-column sorting, deep text search, customer receipts, and instant CSV export. Instant Notifications Stream: Cryptographically verifies and translates raw PayPal asynchronous webhooks into plain merchant language ("Payment Received & Settled", "Order Approved by Customer"). Zapier Automation Engine: Automatically dispatches completed payments to Zapier Catch Hooks, triggering real-time actions across 5,000+ business tools (e.g., notifying Slack #sales, appending rows to Google Sheets, or creating invoices in QuickBooks). Postman API Hub: Provides an interactive, in-app API request runner and ready-to-use Postman Collection v2.1 for developers to test and verify payment routes with live millisecond latency telemetry. Financial AI Copilot: An integrated Copilot powered by Gemini that audits cash flow, flags overdue authorizations, and summarizes settlement velocity. ๐Ÿ› ๏ธ How We Built It PayPilot is built with a high-performance full-stack TypeScript architecture: Code โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ PayPilot Client โ”‚ โ”‚ React 19 โ€ข Tailwind CSS โ€ข AG Grid Enterprise โ€ข Lucide Icons โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ HTTPS / JSON โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ Express Full-Stack API โ”‚ โ”‚ OAuth Token Caching โ€ข Idempotent Orders โ€ข State Store โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ PayPal REST API v2 โ”‚โ”‚ Zapier Automation Hub โ”‚ โ”‚ /v2/checkout/orders โ€ข Hooks โ”‚โ”‚ Webhook Forwarder & Logger โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ Frontend: Built on React 19 and Vite with Tailwind CSS. The transaction engine is powered by AG Grid Community v36 using the custom themeQuartz dark design system. Backend & Middleware: An Express.js service that handles PayPal OAuth token lifecycle management, order creation, dynamic webhook registration, and payload normalization. Persistence: ACID-compliant JSON ledger store managing transactions, order lifecycles, and Zapier dispatch delivery logs. AI Analytics: Integrated with Gemini 2.5 Flash via @google/genai with rule-based heuristics fallback to analyze transaction distributions and conversion rates. ๐Ÿ“ Settlement & Velocity Model To give operators actionable insights, PayPilot models settlement velocity and conversion mathematically: Conversion & Capture Efficiency ( ):

Where represents settled/completed amounts and represents pending authorizations in the pipeline. Net Volume Formulation ( ):

Where is captured volume, represents processed refunds, and represents dispute reserves. Settlement Latency ( ):

Targeting via PayPilot's instant single-click capture and automated background forwarder. ๐Ÿง— Challenges We Faced Taming Developer Jargon into Executive UX: Earlier iterations contained developer artifacts like raw webhook HMAC-SHA256 verification hashes, sandbox flags, and raw JSON payloads. Balancing deep technical auditability with a clean, merchant-friendly interface required careful information architectureโ€”hiding test clutter while keeping one-click receipt generation and transparent transaction status. React 19 & Modern AG Grid v36 Compatibility: Integrating AG Grid v36 with React 19 required using modern modular imports (ModuleRegistry.registerModules([AllCommunityModule])) and dynamic CSS theming via themeQuartz.withParams(...) to match our custom dark slate financial aesthetic without layout shifting. Asynchronous Webhook Reliability & Delivery Guarantees: Ensuring that incoming asynchronous PayPal events and outgoing Zapier webhooks remain reliable even under fluctuating network latencies required building robust background retries and an in-memory delivery audit logger. ๐Ÿง  What We Learned Design for Operators, Not Just Developers: Highlighting business impact (cash flow, settled funds, client receipts) rather than low-level protocols makes financial software exponentially more useful. Power of Event-Driven Automations: Connecting payments directly to workflow tools like Zapier turns a payment from a static transaction into an automated business engine. The Value of In-App Developer Tooling: Embedding a Postman test runner directly in the interface dramatically cuts down testing time and gives judges immediate verification of live API endpoints. ๐Ÿ”ฎ What's Next for PayPilot Multi-Currency Dynamic Hedging: Automated real-time FX rate conversion across EUR, GBP, CAD, and JPY. Recurring Subscription Analytics: Cohort retention analysis, MRR churn forecasting, and dunning automation. Expanded Omnichannel POS: Tap-to-Pay hardware terminal sync and QR-based mobile invoicing.

Built With

Share this project:

Updates

Submission history