What is verified
A dated ledger of what in this reference implementation was run against a real processor or store, what was corrected by those runs, what is simulated, what has not been run, and how to reproduce each claim.
How to read the ledger
Every claim in this repository is in one of three states. Verified live means the code was run against the processor's or the store's real test environment on the date given, with the outcome recorded here. Tested against documented shapes means the code was run in tests/ against a mock transport that asserts the request and answers with the response the vendor documents; no network was reached. Not run in this repository means exactly that. The adapters' docstrings carry the same states, and the dates below are the dates the runs happened.
Per platform
| Platform | State | Date | What ran and what came back |
|---|---|---|---|
| Stripe | verified live, test mode | 6 September 2026 | scripts/psp_smoke.py stripe: a hosted Checkout Session (ui_mode=hosted_page) with a page that renders, an embedded session with a client_secret, a PaymentIntent confirmed with pm_card_visa and captured, a Payment Link, and reads of payment intents, disputes and payouts. Lumen Home booted in gateway_mode: live. A first-party chat turn staged a Stripe session. The return leg GET /checkout/return?session_id=… was exercised. Claude Code and the MCP Python client connected to the merchant's UCP MCP endpoint. The scripted and Claude-driven platform agent produced a Stripe continue_url. An ACP session returned a Stripe checkout_url with the dev.acp.tokenized.card handler. A placeholder shared payment token drew "No such shared_payment_token", which confirms the parameter name and that a real token needs enrolment. |
| Adyen | verified live, test merchant account | 7 September 2026 | scripts/psp_smoke.py adyen: a hosted session (a test.adyen.link URL), a payment link, an embedded session, /paymentMethods, /payments with Adyen's documented test encrypted card (authorised, captured), and the ledger read. Aurora Escapes booted live. A first-party chat turn staged an Adyen hosted page, shown as "Pay for your trip · Aurora Escapes" in the travel storefront. The scripted platform agent ran over UCP. Drop-in was created and was not mounted in a browser because the credential had no client key; the Google Pay handler path was not exercised because Google Pay was not enabled on the account. |
| Shopify | verified live, public demo store | 8 September 2026 | fakestore-ai.myshopify.com served UCP discovery (version 2026-08-25 current, 2026-04-08 and 2026-01-23 supported), the storefront MCP at /api/mcp (search_shop_policies_and_faqs) and the UCP shopping service at /api/ucp/mcp (13 tools including create_checkout and complete_checkout). Every tools/call had to carry meta.ucp-agent.profile. The scripted platform agent ran search_catalog, create_cart (CAD 40) and create_checkout, which answered requires_escalation with a continue_url on Shopify and messages listing what the shopper still had to provide. Shopify's example booted against the store. Its default store demostore.mock.shop returned 404 that day, so the reference defaults SHOP_DOMAIN to fakestore-ai.myshopify.com. |
| Worldpay (Access Worldpay) | tested against documented shapes | read 6 September 2026 | psp_commerce/adapters/worldpay.py against a mock transport in tests/test_adapters_http.py::test_worldpay_requests. Not run against a Worldpay try environment in this repository. |
| CyberSource | tested against documented shapes | read 6 September 2026 | psp_commerce/adapters/cybersource.py, including the HTTP Signature with Digest, in test_cybersource_signature_and_requests. Not run against a CyberSource test account in this repository. |
| Clover | tested against documented shapes | read 6 September 2026 | psp_commerce/adapters/clover.py, including the inventory sync, in test_clover_requests_and_inventory_sync. Not run against a Clover sandbox merchant in this repository. |
Every company, brand, product and person in the five demo merchants (Northstar Outfitters, Lumen Home, Aurora Escapes, Beacon Wireless, Encore Seats) is fictional.
Per feature
| Feature | State |
|---|---|
| The checkout URL never reaches the model | tested on every run: tests/test_checkout_handoff_turn.py and tests/test_runtime_agnostic.py inspect every request body |
| The four checkout integration models | tested on the simulated gateway (tests/test_integration_models.py); hosted and embedded sessions, a server-side confirm and a payment link verified live on Stripe (6 September 2026) and Adyen (7 September 2026) through scripts/psp_smoke.py |
| The return leg and the assistant's note | tested (tests/test_demo_paths.py); the Stripe return route answered live for an unpaid session on 6 September 2026, and the Adyen route answered for a rejected sessionResult on 7 September 2026; a paid return on a processor's page was not run |
| Webhook signature verification | tested with a valid and a tampered Stripe signature and an Adyen HMAC (test_webhook_verifiers); live webhook delivery from Stripe or Adyen was not run in this repository |
| UCP discovery and the MCP endpoint on a merchant here | tested (tests/test_thirdparty.py runs Shopify's own client against it); Claude Code and the MCP Python client connected live on 6 and 7 September 2026, recording in docs/media/ |
| The platform agent, scripted | verified live at the Stripe merchant (6 September 2026), the Adyen merchant (7 September 2026) and the Shopify store (8 September 2026) |
| The platform agent driven by a model | Claude verified live at the Stripe merchant (6 September 2026); the OpenAI and Gemini providers are unit-tested against the documented wire shapes and were not run live |
| A platform completing payment with a credential | tested on the simulated gateway (gpay_demo); on live Stripe a placeholder token was refused by name, and no real shared payment token or Google Pay payload was charged |
| ACP checkout sessions and the feed | tested; session creation verified live on Stripe (6 September 2026) |
| The tender card and the payments view | tested (tests/test_tender_extension.py, tests/test_payments_ops.py) |
| Every merchant boots with no credentials | tested (tests/test_verticals_boot.py) |
The developer's path, 8 September 2026
The whole route a newcomer takes was run once more from a fresh copy of the repository on 8 September 2026: ./setup.sh, then for the Stripe, Adyen and Shopify folders a .env copied from .env.example with the test credentials, test.sh, first-party/run.sh, and third-party/run.sh, with the READMEs as the only guide.
| Folder | What ran | Outcome |
|---|---|---|
| Stripe | test.sh live; the four-step conversation (search, add, tender card, checkout) in the storefront and through the merchant API, ending on a "Pay securely on Stripe" button to Stripe Checkout; the unpaid return page and the status poll; a paid order end to end in the server model (CHECKOUT_MODEL=server): the merchant's own page authorized through Stripe's API, Stripe reported the PaymentIntent succeeded for USD 22.00, and the assistant answered "your payment went through" with the order id from get_orders; the operations assistant on live figures; the scripted and model-driven platform agent; --complete gpay_demo; the ACP create, read, complete, cancel and feed routes; Claude Code one-shot against lumen-home |
all as documented; Stripe refused the demo credential with a 400 and both protocols answered "the processor refused the credential" with the checkout still open |
| Adyen | the same set against Aurora Escapes; the return page with a rejected sessionResult; a paid booking end to end in the server model (CHECKOUT_MODEL=server): the merchant's own page authorized two nights for USD 428.00 through Adyen's /payments with the documented test card, Adyen answered Authorised with a PSP reference, and the concierge answered "your payment went through" with the order's status card; Claude Code one-shot against aurora-escapes |
as documented after the two fixes below; Adyen refused the demo credential with a 422; the operations assistant reported an empty ledger on a fresh process, which is what a fresh process has |
| Shopify | test.sh (Shopify's 91 recorded tests plus the live store); the example's three suggested prompts through its API, ending with a real cart and a Shopify checkout URL; the sign-in routes with a Dev Dashboard app's credentials; the model-driven platform agent |
all as documented; the sign-in route redirected to Shop's consent page |
Six things the path found are handled in the code now. A .env value containing shell characters (Adyen keys contain >) was cut short when the helper sourced the file, so platforms/_lib/common.sh reads .env line by line. Shopify's recorded-response tests assume the example's default store, so the Shopify folder runs them with the folder's SHOP_DOMAIN unset. A live processor's rejection of a platform credential escaped both completion routes as a 500; UCP answers payment_declined with the processor's words and ACP answers 402 with checkout_url. The merchant's own checkout page told an Adyen shopper "Unknown checkout" because the route recognized only Stripe-shaped ids (pi_, cs_); it looks the id up in the gateway now, whatever the processor calls it. And an order the processor had just placed appeared in the assistant's order list while its single-order lookup missed it on four of the five merchants, so the order-status card failed seconds after payment; the merged lookup lives once in the integration mixin every merchant composes (psp_commerce/integration/base.py), with a test per merchant. Last, a CHECKOUT_MODEL set in a folder's .env reached the unit tests through test.sh and failed the boot test on every merchant; tests/conftest.py now clears it, as it already pinned the gateway mode.
What the live runs corrected
The point of running live is finding what the documentation alone did not say. Four corrections are in the code.
- Stripe's API version. An account whose default API version predates
ui_modeanswered "Invalid ui_mode: hosted_page". Every request now pinsStripe-Version: 2026-03-25.dahlia(API_VERSIONinpsp_commerce/adapters/stripe.py); the shared-payment-token call pins its own preview version. - Stripe's server-side confirm. Stripe refuses a server-side confirm while redirect-based payment methods are enabled.
create_payment_intentnow setsautomatic_payment_methods[allow_redirects]=never, andauthorize_paymentpasses areturn_urlon the confirm call. - Adyen's hosted session. Adyen rejects
channelon a hosted session (error14_0449). The adapter sends it only on embedded sessions. - Adyen's session read. A session can only be read with the
sessionResultthe shopper brings back on the return URL (error29_004without it).GET /checkout/return?sessionId=…&sessionResult=…hands the value to the adapter before the status read.
What is simulated
Without a processor's variables, every merchant runs on psp_commerce/adapters/mock.py, an in-memory gateway that implements the whole PaymentGateway protocol: hosted sessions with a fifteen-minute expiry, payment intents, client sessions, payment links, and a deterministic history of transactions, settlements and disputes seeded from the merchant id. The hosted page, the merchant-owned pages and the pay-by-link page are served by the merchant API at /checkout/{id}, /store/checkout/{id} and /pay/{id}, and their Pay buttons complete a demo payment without collecting details. The simulated gateway refuses the same platform credentials the real adapter for that processor would refuse. GET /api/brand reports gateway_mode: simulated and a note saying the in-memory gateway stands in until the processor's credentials are set.
What has not been run
- Worldpay, CyberSource and Clover against their test environments. The adapters are real HTTP clients over each processor's documented API;
scripts/psp_smoke.pyis the first live run, one processor at a time, and stops at the first error with the processor's own message. - The OpenAI and Gemini providers of
psp_commerce/runtime/against their APIs, and thereforescripts/platform_agent.py --provider openai|geminilive. - Paying on Stripe's or Adyen's hosted page from inside the demo storefront, end to end in a browser, with the return page and the assistant's next turn observed; that path needs a card typed on the processor's page. The equivalent paid journey in the server model, where the merchant's own page authorizes through the processor's API with the processor's test instrument, was run on Stripe and on Adyen on 8 September 2026, and each run ended with the assistant reading the order back.
- Live webhook delivery from Stripe or Adyen to
/webhooks/stripeor/webhooks/adyen. - Adyen Drop-in mounted in a browser (needs
ADYEN_CLIENT_KEYon the credential), and thecom.google.payhandler on Adyen (needs Google Pay enabled on the account). - A real Stripe shared payment token or Google Pay gateway payload charged through
authorize_delegated. - Sign in with Shop on Shopify's example end to end. With a Dev Dashboard app's
SHOPIFY_UCP_CLIENT_IDandSHOPIFY_UCP_CLIENT_SECRETin the environment, the example's/api/auth/shop/startroute redirected to Shop's consent page on 8 September 2026; the consent and the signed-in catalog calls that follow it were not run. Without the credentials every session is a guest.
How to reproduce each claim
Run everything from the repository root after ./setup.sh. The tests need no credentials.
source .venv/bin/activate
python -m pytest -q
Expected: 69 passed in about ten seconds.
Each platform folder has a test script that runs the merchant's tests, boots its API, checks UCP discovery and the MCP handshake, has a scripted platform agent stage a checkout, and, when the processor's variables are in platforms/<platform>/.env, runs the live smoke test.
platforms/stripe/test.sh
ALL PASS (Stripe)
The live smoke test alone, with the adapter's variables in the environment, creates a hosted session, a payment link, a client session and a payment intent, authorizes a test instrument where the processor documents one, and lists transactions.
python scripts/psp_smoke.py stripe
python scripts/psp_smoke.py adyen
The Shopify folder's script runs Shopify's own tests on recorded responses, then checks the live public store and boots the example against it.
platforms/shopify/test.sh
The platform agent against a merchant here (the merchant's API must be up, which third-party/run.sh arranges) or against the Shopify store:
platforms/stripe/third-party/run.sh
platforms/shopify/third-party/run.sh
To connect Claude Code as the platform agent, keep the merchant up with --serve and start Claude Code in the repository root, where .mcp.json registers lumen-home and aurora-escapes.
platforms/stripe/third-party/run.sh --serve
Known limits
- Where a processor has no list endpoint for a read (Adyen has none for payments in the Checkout API; Clover has none for disputes; settlement detail is a report file at most processors), the adapter's ledger, fed by its own calls and by webhooks, stands in.
settlement_batcheson Stripe reads payouts; elsewhere it is derived from captured transactions. - The Worldpay adapter names the delegate-token payment instrument's field as the thing to confirm on the first try-environment run.
- The blueprint's
OrderIssuetype has no dispute kind, so a dispute is filed underbuyer_messagewith the reason code in its summary (commerce_core/merchant.py). - The plain Anthropic provider in
psp_commerce/runtime/exists to prove the contract; a deployment on Claude should use the blueprint's own runtime, which keeps caching, forced reads and streaming. - Dates above are the dates of the runs. Vendor behavior described here was taken from the vendors' documentation, read on 6 September 2026 for the processors and on 8 September 2026 for Shopify, and should be re-checked before a production build.