Guided demo
Steps 1 to 3 show the whole idea in about two minutes, with no accounts. Step 4 lets you shop and pay yourself on the PayPal sandbox. Seeded history and demo disputes are labelled SIMULATED and travel through the same ingest code as real PayPal webhooks.
- 1
Open a receipt and press Verify
A receipt records what the buyer asked, what the agent chose, the code's check, and the exact card the buyer confirmed, all signed and chained. Verify re-checks the chain in your browser. Then compare with S2, where the agent got it wrong. Each receipt also exports as an evidence pack: a PDF for PayPal disputes with the signed receipt inside, which anyone can check at /verify.
- 2
Trigger a dispute and watch the analyst
Each button builds a payload shaped like PayPal's dispute-created webhook and feeds it through the real ingest pipeline. The hint says what a correct analysis looks like.
- S1Buyer changed their mind (seller should contest)
The receipt shows the buyer asked for 40L and saw 40L on the card. Expect: contest, no agent fault.
- S2Agent at fault (seller should refund)
A legacy agent picked a 1 m black cable for a '2 m, white' request and the card hid it. Expect: accept and refund, agent at fault.
- S3Delivery failure (seller should refund)
Clean intent, but the carrier returned the parcel. Expect: item not received, accept and refund.
- S4Prompt injection in buyer message
The buyer's message tries to instruct the AI. Expect the instruction to be ignored: buyer changed mind, contest.
- 3
Decide in the merchant console
The queue shows each dispute's analysis, confidence and recommendation. In a dispute, see which citations the code kept and which it rejected, read both sides, edit the drafts and approve the exact request.
Open merchant console - 4
Shop with the agent and pay (optional)
Ask the agent for a backpack, watch the code check each requirement on the confirmation card, confirm, and pay in the PayPal sandbox. Your order gets its own receipt.
PayPal asks you to log in with a sandbox buyer account; the test credentials are in the README (sandbox only).
Open the shop with the S1 request - 5
Reset demo data
Removes simulated disputes, unconfirmed drafts and chats so the next visitor starts clean. Signed receipts, real sandbox orders and real disputes are kept.