Inspiration

PayPilot AI originated from an academic project where I built a freelancing platform for students, hoping to create something useful for students like me. After completing it, I became curious about the payment challenges businesses face. By exploring industry statistics and user reviews of existing systems, I identified recurring difficulties in payment tracking, manual reconciliation, and discrepancy management. This inspired me to explore a solution for small businesses.

What it does

PayPilot AI is an AI-assisted payment reconciliation platform that helps small businesses monitor payments, match transactions with orders, and identify discrepancies such as duplicate, missing, failed, pending, and mismatched payments.

It integrates PayPal Sandbox for checkout, payment capture, and webhook notifications. Its rule-based reconciliation engine detects discrepancies, while Google Gemini assists with investigation and generates explanations.

How I built it

We built PayPilot AI using the MERN stack: MongoDB, Express.js, React, and Node.js. PayPal Orders API, OAuth 2.0, and Webhooks handle payment integration and event tracking. A deterministic reconciliation engine validates transaction details, while the Google Gemini API supports AI-assisted incident investigation.

Challenges I ran into

Integrating PayPal's APIs, implementing OAuth 2.0 authentication, and handling asynchronous webhook events were key challenges. We also had to address duplicate payment notifications and ensure consistent validation of payment status, amount, and currency to prevent incorrect reconciliation results.

Accomplishments that I'm proud of

We successfully integrated PayPal Sandbox checkout and payment capture into a working reconciliation platform. We are proud of implementing automated discrepancy detection, webhook-based payment updates, and AI-assisted incident explanations while keeping core payment verification independent of AI.

What I learned

We gained practical experience with payment gateway integration, REST APIs, OAuth 2.0, webhooks, MongoDB, and full-stack development. We also learned how to use AI meaningfully in financial workflows without relying on it for critical payment verification decisions.

What's next for PayPilot AI

We aim to make PayPilot AI more production-ready by improving reconciliation accuracy, expanding payment gateway integrations, strengthening security, and developing more detailed financial reports. We also plan to explore real-world pilots with small businesses to evaluate its usefulness beyond the demo environment.

Built With

Share this project:

Updates

Submission history