The store's assistant at Aurora Escapes, on Adyen
Run the fictional Aurora Escapes travel store with its concierge and its operations assistant, book a stay, pay on Adyen's hosted page with the documented test card, and see the concierge read the booking back.
What this run is
The store's assistant here is Aurora Concierge, the blueprint's shopping agent over the travel example's stays, flights, and experiences, with the itinerary card the example adds and the tender card the processor layer adds. Adyen takes the payment on its Hosted Checkout page. The operations assistant in the merchant app answers from the processor's numbers and from the travel example's occupancy view.
Running it
Set up once with ./setup.sh, copy platforms/adyen/.env.example to platforms/adyen/.env, and put ANTHROPIC_API_KEY in it. ADYEN_API_KEY and ADYEN_MERCHANT_ACCOUNT together switch the run to Adyen's test environment; without them it is simulated.
platforms/adyen/first-party/run.sh
The script prints "Adyen: live (test environment)" or "Adyen: simulated", then starts the API on 8017, the storefront on 3017, and the merchant app on 3117. --all is the default.
platforms/adyen/first-party/run.sh --merchant
starts the API and the merchant app;
platforms/adyen/first-party/run.sh --api-only
starts the API alone.
| Surface | URL |
|---|---|
| Travel storefront with Aurora Concierge | http://localhost:3017 |
| Merchant app with the operations assistant | http://localhost:3117 |
| Merchant API | http://localhost:8017 |
The storefront and merchant app are the blueprint's vendored travel apps; their page chrome reads "ACME Travel" while the assistant, the brand route, and the checkout link carry Aurora Escapes.
A scripted walkthrough
The conversation below follows the live run of 7 September 2026.
- Ask for a stay: "Show me refundable stays in Lisbon under $300 a night." The concierge searches; the catalog has guesthouses in Alfama, Baixa, and Condesa and a rooftop suite in Graca, among others.
- Add one: "Book the Alfama guesthouse for two nights." The trip panel keeps the itinerary and the total.
- Ask how to pay: "Can I split the trip into monthly payments?" The concierge calls the tender card: card installments over three months apply above $300, Klarna pay in 3 from $100 to $3,000, PayPal, Apple Pay, Pay by Bank, and the Aurora Miles the booking earns at three points per dollar. The text names the option asked about and leaves the figures to the card.
- Check out: "Set up checkout." The concierge stages the trip with Adyen. On a live account this creates a hosted session; the model sees only that the checkout is staged. The conversation shows a link labeled "Pay for your trip · Aurora Escapes".
- Pay on Adyen's page. The link opens Adyen Hosted Checkout at a
test.adyen.linkaddress. Use Adyen's test card4111 1111 1111 1111, expiry03/2030, CVC737. - Return. Adyen sends the browser to
http://localhost:8017/checkout/return?sessionId=…&sessionResult=…. ThatsessionResultis what lets the merchant read the session from Adyen, so the return page is where the booking is recorded and the concierge is told. The page shows "Payment received" and links back to the store. - Ask about it: "Is my trip paid for?" The concierge answers from the queued note and the order list, which now includes the booking Adyen reported.
Adyen's test Customer Area shows the payment under Transactions, Payments, with the AUTHORISATION event.
What the simulated mode shows instead
Without the two Adyen variables, steps 1 to 4 are the same and the link opens a local page at http://localhost:8017/checkout/cko_… headed "Aurora Escapes, Secure checkout · Adyen". It lists the itinerary and one button per tender with the same figures as the tender card; pressing one completes a demo payment, the storefront's status poll sees it, and step 7 works unchanged. The page says that the assistant which staged the checkout never sees it, which is the design's point: the concierge stages, Adyen collects, and the store learns the outcome from the return leg or the poll, never from the model.
The server model, paid end to end
With CHECKOUT_MODEL=server in platforms/adyen/.env, the link at step 4 reads "Continue to checkout" and opens the merchant's own page at http://localhost:8017/store/checkout/adyen_…, headed "Aurora Escapes · Checkout" and marked "Server-side API". Pressing "Credit or debit card" makes the merchant's server call Adyen's /payments with the documented test card. Adyen answers Authorised with a PSP reference, the page reloads to "Paid with card. Order ORD-… · transaction …", and step 7 answers from the order list with the order's status card. This ran live on 8 September 2026 for two nights at USD 428.00; the payment appears in the Customer Area the same way a hosted one does.
The operations assistant in the merchant app
Open http://localhost:3117. The merchant app is the travel example's, with the occupancy overview and the operations assistant on the side. The payments block of the merchant overview comes from the gateway's payments_summary (verticals/aurora_escapes/api/main.py), so the assistant can answer "How are payments looking this week?" with settled volume, authorization rate, agent-initiated share, and open disputes, and "Where is Tuesday's money?" with the settlement row two business days after the sale, the cadence Aurora Escapes is registered with.
Its metric names are settled_volume, auth_rate, dispute_rate, chargebacks, agent_initiated_share, and tender_mix:<tender> (for example tender_mix:paypal), and open disputes appear as order issues with a reason code and a response deadline. On a live Adyen account the ledger behind these figures starts empty each time the API process starts (Adyen's Checkout API has no list-payments endpoint), so the assistant reports the settled volume as zero and the authorization rate as unset until a payment goes through this process or a webhook lands; the ledger is fed by the adapter's own successful calls and by the standard webhook (POST /webhooks/adyen, verified with ADYEN_HMAC_KEY), since Adyen's Checkout API has no list-payments endpoint. Disputes and settlement changes are described as the next step in the Customer Area and never performed here.
Stopping
Ctrl-C stops all three processes. A busy port 8017 means a previous run is still up.