Inspiration

Freelance projects often begin with informal messages, unclear deliverables, and payment disagreements. PayPal Pact was inspired by the need to connect milestone payments to clear, verifiable work using AI-driven contract parsing and secure escrow handling.

What it does

PayPal Pact turns a plain-language project request into a structured milestone agreement. Users can select a freelancer, define deliverables, split budgets across clear stages, fund milestones via PayPal Sandbox, upload proof of completion, and receive automated approval or dispute recommendations.

How we built it

We built the prototype using Next.js, React, Tailwind CSS, and reusable UI components. The platform connects directly to PayPal Sandbox APIs for order creation and escrow flows, paired with a server-side OpenAI SDK integration backed by a local fallback for instant, zero-downtime demo reliability.

Challenges we ran into

Ensuring seamless AI contract evaluation alongside live payment authorization required balancing API credit dependencies with demo performance. We solved this by implementing a robust local fallback mechanism so contract parsing and milestone setup function smoothly alongside real PayPal Sandbox order verification.

Accomplishments that we're proud of

  • Successfully linked active PayPal Sandbox checkout flows with dynamic milestone creation.
  • Built a complete, end-to-end user workflow covering contract generation, payment funding, proof submission, and dispute review.
  • Maintained 100% demo availability for hackathon evaluation without external API blockages.

What we learned

  • How to structure full-stack payment workflows in Next.js using PayPal Sandbox APIs.
  • Designing resilient fallbacks for AI microservices in hackathon prototypes.
  • Best practices for building user-friendly escrow interfaces that build trust between clients and freelancers.

What's next for PayPal Pact

  • Expanding the AI engine to handle complex multi-party contracts and dynamic dispute mediation.
  • Integrating live mainnet PayPal payouts and automated release hooks.
  • Adding real-time file hash verification for milestone proof submissions.

Built With

Share this project:

Updates

Submission history