Inspiration
Custom furniture makers receive requests in everyday language, then manually price options, reconcile revisions, and chase approval before collecting payment. ClearQuote keeps the specification, price, approved version, and payment record together.
What it does
A maker describes a desk request. AdmasLLM extracts supported dimensions, wood, drawer count, and delivery preference into a validated draft. The editable price catalog calculates every line item, and the maker reviews the draft before sending it.
Customers can request revisions and approve the exact current version. PayPal Sandbox checkout creates and captures an order on the Node server. The server checks the quote version, merchant, USD amount, and completed capture before recording payment; the browser then refreshes that canonical record before showing a receipt.
How we built it
The interface uses React and TypeScript. A Node.js24 API atomically persists quotes, prices, settings, and payment attempts. Supabase authenticates app users; AdmasLLM accepts a fresh app-user token and a separate public routing binding. The model extracts a strict five-field specification and cannot set prices, approval, or payment status.
PayPal uses the Buttons SDK and Sandbox Orders v2. Private provider credentials stay in the owner-controlled server process. A prepared launcher accepts the existing Sandbox credentials through masked prompts. The interface stays on its approved Admas origin and connects to the private temporary HTTPS Node API using an exact-origin, run-scoped connection token; provider secrets remain on the server.
Challenges and safeguards
The main challenge was keeping human review, version history, and payment state consistent through revisions, duplicate callbacks, pending captures, and uncertain network outcomes. Persisted request keys and matching canonical refreshes prevent a retry from becoming a second payment or an incorrect success message.
The hosted interface connects to the privately launched Node payment server. Without that private connection, the preview labels payments unavailable.
What we verified
A real authenticated AdmasLLM request extracted a forty-eight-inch white oak desk with two drawers and delivery. Catalog pricing produced $1,130. In a fresh connected quote, changing to one drawer and workshop pickup produced $825; the $305 reduction, business resend, and exact-version customer approval were verified.
A genuine PayPal Sandbox buyer approved a separate $950 quote, and its completed capture was reconciled against the bound order before the canonical quote displayed a confirmed paid receipt. No real funds were used. A minimal capture response exposed a merchant-field omission; a same-order status recheck safely confirmed the receipt. The reviewed source now requests a full representation and performs a bounded same-order receipt lookup when needed, while preserving strict merchant, amount, currency, and version checks. The latest automatic recovery path has isolated provider tests; its live owner-runner restart check is pending.
The production build, 28 focused/API-to-view checks, 18 checkout lifecycle checks, and 19 isolated fake-provider checks passed: 65 checks in total. The public repository has a passing CI status. Demo screens distinguish the $825 revision workflow from the separate confirmed $950 payment fixture.
What is next
Add role-separated business and customer accounts, production-grade storage, and a stable deployment after the hackathon demo. The current app is a single-owner Sandbox demonstration using synthetic customers.
Built With
- node.js
- paypal
- react
- supabase
- typescript