Whisper
The web has a price. Whisper pays it
Created on 14th April 2026
•
Whisper
The web has a price. Whisper pays it
The problem Whisper solves
Every time you hit a checkout page, a paywall, or a payment request while browsing, the browser stops. It can render the page and display the price, but paying is entirely your problem. Find your card, type the numbers, fill the form. Even worse you're on a page that accepts only card payments and all you have is crypto. It can be a pain in the ass.
Whisper gives the browser a wallet.
It runs as a silent AI agent inside Chrome. When you encounter any payment surface while browsing, Whisper recognises it, settles it in USDC, and lets you continue — without switching tabs, entering card details, or breaking your flow.
What people can use it for:
-
Frictionless checkout — land on any Locus-integrated merchant page and pay
instantly with one click. No card form, no redirect, no friction. -
Card checkout on any site — on standard card checkout pages, Whisper generates a virtual debit card and autofills the form. The user just reviews and submits.
-
Crypto-native payments — on pages that display a wallet address and USDC amount, Whisper reads the address from the DOM and sends the payment directly.
-
x402 micropayments — for APIs and content that return HTTP 402 Payment Required, Whisper intercepts the request at the browser's
fetchlevel, settles the payment on-chain and retries automatically. The page receives a 200. The user never sees a paywall. -
Natural language control — users can type commands in the side panel ("pay for
this", "what's the total?", "is this page safe?") and the AI agent acts on them. -
The same extension works across all four payment surfaces. One wallet, any checkout, every site.
Challenges I ran into
1. The "transaction does not belong to this agent" wall
The most frustrating bug of the build. After wiring up the full Locus Checkout flow — preflight, pay, poll — every payment came back with a 403: "Transaction does not belong to this agent.".
The root cause: I was using a single API key for both creating the checkout session
and paying it. That meant the payer and the payee were the same wallet — Locus correctly rejects a wallet paying itself. The fix was a two-key architecture: one key owns the merchant session, a separate key is the paying agent. Once we split them, the payments went through cleanly.
A second wrinkle: even with separate keys, GET /checkout/agent/payments/:txId kept returning 403 on the beta environment. The money was actually moving (I could see the balance change on the merchant wallet) but the polling endpoint kept rejecting. I worked around it by polling GET /checkout/sessions/:sessionId instead, which returns PAID status and the real on-chain paymentTxHash once confirmed, thanks to the /ask ai bot on Locus discord.
2. The x402 MAIN world injection problem
The x402 interception requires wrapping window.fetch before any page code runs. In Manifest V3, content scripts run in an isolated JavaScript world — they can't touch window.fetch on the actual page. Our first attempt injected a <script> tag from the content script, but Chrome's CSP headers on many sites blocked it, and window.__whisperPresent was never being set reliably.
The correct solution was declaring a second content script in manifest.json with "world": "MAIN" and "run_at": "document_start". This runs before any page
JavaScript, wraps window.fetch natively, and communicates back to the isolated content script via window.postMessage. Clean, reliable, and CSP-safe.
3. Session detection race condition
The merchant checkout page creates a Locus session dynamically on load — the meta tag starts empty and gets populated after an API call. Whisper's content script was classifying the page before the session was ready, caching a null session ID, and then the button click would fail with "No session found."
The fix was two-part: fire a locus:session-ready custom event from the page once the session is created, and more importantly, read the session ID fresh from the DOM at click time rather than from the cached classification object. The DOM is always current. The classification cache is not.
Tracks Applied (1)
Using PayWithLocus.com to leverage our suite.
Technologies used
Cheer Project
Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.