
Fix Flight Booking Payment Flow – Node.js/Express MCP Server
Upwork
Remote
•2 hours ago
•No application
About
Project Overview We have a flight booking MCP Model Context Protocol server that integrates with Duffel API for flight bookings and supports both Stripe and Duffel payment processing The booking intent flow is currently broken and needs to be fixed to enable end to end flight booking with payment collection Current Architecture Backend Node js Express MCP server with MongoDB Payment Stripe Duffel payment integration Flight API Duffel API via Azure APIM gateway Frontend Checkout form at checkout intentId Webhooks Stripe webhook server on port 3001 Main Issues to Fix 1 Booking Intent Flow Not Working The create booking intent tool creates an intent but the checkout flow is broken Need to fix the complete flow Intent creation Checkout form Payment Booking creation 2 Payment Integration Issues Stripe checkout session not properly connecting to booking intent Webhook handlers need verification and fixing Payment confirmation not triggering booking creation 3 Frontend Checkout Form Form at checkout intentId needs to properly collect passenger info PII Payment processing integration needs to be completed Error handling and validation improvements 4 Database State Management BookingIntent model state transitions not working correctly Need proper error recovery and retry logic Session expiry and cleanup mechanisms Deliverables 1 Fully working booking intent flow from search to ticket confirmation 2 Fixed Stripe payment integration with proper webhook handling 3 Working checkout form that collects PII and processes payments 4 Proper error handling and logging throughout the flow 5 Basic testing to verify the complete booking flow works Required Skills Strong experience with Node js Express and MongoDB Stripe API and webhook integration REST API integration Duffel API experience a plus Frontend forms and payment processing Debugging complex async flows To Apply Please include 1 Brief description of similar payment integration projects youve completed 2 Your approach to debugging and fixing the booking intent flow 3 Estimated timeline for completion 4 Any questions about the codebase or requirements Additional Information You'll have access to the full codebase API keys and test environments will be provided Must be available for quick communication during development Code is already structured mainly needs debugging and fixing Start Immediate Bonus Quick turnaround with clean working solution