PayPilot

Plain English in. Professional invoice + PayPal payment request out.

PayPal AI Hackathon PayPal Sandbox simulation — see README
Total invoiced
$0
Collected (paid)
$0
Outstanding
$0
Overdue
0

✍️ 1 · Describe the job in plain English

PayPilot's on-device AI parser extracts the client, line items, amounts, currency and due date — no form-filling, no API key, nothing leaves your browser.

Review & edit the parsed invoice

Invoices are stored only in your browser (localStorage). Demo data is seeded on first run — delete it any time.

🧠 2 · Smart insights

Generated locally from your invoice book — cash-flow nudges and the single best next action.

💌 3 · AI follow-up & reminder drafts

Pick an invoice and a tone. PayPilot writes a polite, ready-to-send reminder you can copy.

📒 Your invoice book

Track every invoice from draft to paid. Overdue is calculated automatically from the due date. Use “PayPal checkout” to see the payment-request preview a client would pay through.

🔌 How the PayPal integration works

PayPilot is built around the PayPal Orders v2 API (checkout) and the PayPal Invoicing API. Because this hackathon build ships without the entrant's personal sandbox credentials, the live payment step runs as a clearly-labelled sandbox simulation: every simulated step maps 1-to-1 to a real PayPal API call, and the integration points are stubbed in the source (`PAYPAL_CONFIG` + `PayPalAdapter` in this file). Paste a free sandbox client-id from developer.paypal.com into that config block and the same checkout preview calls the real PayPal sandbox — no other changes needed. Full mapping: see README.md.

FLOW Create invoice (AI parse) → PayPalAdapter.createOrder() POST /v2/checkout/orders [STUB → simulation] → Buyer approves in PayPal popup PayPal JS SDK approval [STUB → simulation] → PayPalAdapter.captureOrder() POST /v2/checkout/orders/{id}/capture [STUB] → Invoice status flips to PAID, receipt ID issued (e.g. PAYPILOT-SIM-…)