Inspiration

Shoppers open tab after tab and still never reach checkout. ShopPal is an agent that searches and compares, then stops. Nothing is charged until a person says yes.

What it does

ShopPal is a Next.js concierge.

  1. Search returns three priced choices: Budget, Fast, and Best.
  2. Select is a tap on one option.
  3. Consent is required. Checkout starts only after yes, pay.
  4. PayPal completes the order in the sandbox through the Orders API and JavaScript Buttons.

The demo is a weather cancel at Dallas. The traveler rebooks toward Kansas City or Omaha.

How we built it

  • Next.js 15 with session-backed select and confirm APIs
  • Mock OTA plus public research for flights, bus, and train
  • OpenAI tool calling when enabled, and a deterministic fallback when it is not
  • PayPal create-order, in-browser approval, then capture

Challenges

  • Keeping agent actions separate from payment consent
  • Resolving mock-OTA fares when the server session is cold

Accomplishments

  • Pick, yes, pay, and PayPal finish in about a minute
  • The landing page shows the product pattern
  • The chat runs the travel story

What we learned

An agent should do the searching. It should not hold the wallet. PayPal is the trust boundary.

What's next

Live catalog connectors, and a PayPal MCP bridge so the agent can call PayPal tools directly.

Built With

Share this project:

Updates

Submission history