Overview
Stagehand agents run on Browserbase cloud browsers. When your agent reaches a checkout, the@ovra/pay SDK fills the payment form — the agent never sees card data.
Setup
Agent Flow
How It Works
- Stagehand navigates using natural language commands
- At checkout, you call
OvraPay.checkout(stagehand.page, { intentId }) - The SDK runs inside
page.evaluate()— an isolated execution context - Card credentials exist only during the form fill, never in agent memory
- The agent gets back
{ success: true }and continues
With MCP
If your Stagehand agent uses MCP tools, add Ovra’s server:ovra_checkout_pay with its Browserbase session’s CDP URL.