Inspiration

Online shopping is becoming increasingly AI-driven, but automated purchasing creates an important challenge: how can users trust AI recommendations while maintaining control over their money?

We built NEXTPAY AI to bring intelligence, transparency and user control together in digital commerce.

What it does

NEXTPAY AI is an AI-powered intelligent commerce platform that analyzes purchase requests and helps users make safer spending decisions.

Key features:

  • AI Purchase Intelligence: Understands natural-language purchase requests and generates structured purchase analysis using Groq AI.
  • Trust Firewall: Evaluates purchase risk and provides explainable safety recommendations.
  • Budget Protection: Checks whether the requested purchase fits the user's spending limit.
  • Human Authorization: Keeps the user in control before every payment.
  • PayPal Integration: Uses PayPal Sandbox for test checkout, payment approval and capture.
  • Transaction Audit Trail: Saves completed payment records and displays transaction references, amounts, dates and statuses.
  • Risk Decision Simulator: Demonstrates LOW, MEDIUM and HIGH risk scenarios for interactive evaluation.

How we built it

The frontend was developed using React and Vite, with a modern dashboard interface.

The backend uses Node.js and Express to handle purchase analysis, application rules and PayPal payment operations.

Groq AI powers natural-language purchase intelligence and risk assessment. PayPal Sandbox provides the test payment workflow, while JSON-based backend storage maintains transaction history across frontend refreshes.

Challenges we faced

One major challenge was integrating AI-generated purchase analysis with actual payment workflows while maintaining user authorization.

We also worked through backend integration, PayPal Sandbox account configuration, payment capture verification, transaction persistence and frontend state management.

What we learned

We learned how to integrate AI APIs with a full-stack application, connect a payment gateway, manage transaction records and design explainable user-facing safety decisions.

Most importantly, we learned that AI-driven commerce should not remove human control.

What's next

We envision expanding NEXTPAY AI with stronger merchant verification, more advanced fraud detection, personalized spending insights and additional payment integrations.

Our vision: AI recommends. The Trust Firewall protects. The user decides.

Built With

Share this project:

Updates

Submission history