Repository navigation
Add KERNEL card path to the browser-agent payments walkthrough - #735
Merged
Merged
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
hiroTamada
marked this pull request as ready for review
October 29, 2026 21:22
yummybomb
reviewed
Oct 30, 2026
yummybomb
left a comment
Contributor
There was a problem hiding this comment.
two fixes before merge:
- keep polling while pending_authorization. one 60s wait doesn’t mean approval failed.
- uppercase order.currency before confirm_transaction; passing usd returns 400.
yummybomb
approved these changes
Oct 31, 2026
yummybomb
left a comment
Contributor
There was a problem hiding this comment.
lgtm.
note
agent found an edge case: the loop can still poll forever if the funding card is removed: status stays pending_authorization with funding_status: removed. check funding_status and add an expiry/deadline in both snippets.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The "enable payments in a browser agent" walkthrough only covered Link and AgentCard, and the wallets overview pointed KERNEL card users there anyway. A KERNEL card user had no end-to-end path from a verified purchase through
fill, submission, and reporting the outcome. This adds that path.browsers/enable-payments-in-browser-agent:merchant_urlset to the top-level checkout page, since fill is locked to that url's exact originauthorizewith no browser or page parameters, presenting any returnedspend_approvalaction through the controller (Visa approval, or the fresh security code for cards without network tokens)readynumber,expiration/exp_month+exp_year, andcvc. Notes:403 destination_deniedoff-origin, no stored billing fields (billing_*returnsfield_unavailable), fill only visible fieldsconfirm_transactionwhen advertisedintegrations/wallets/overview: "Next step" now includes KERNEL card in the walkthrough's scope.browsers/payments: "How payments work" step 4 describes KERNEL card authorization alongside Link and AgentCard.integrations/wallets/kernel: links the walkthrough from its reference list.This documents the default single-card wallet flow. It doesn't depend on the payment-methods docs, and choosing a card with
payment_method_idcan be linked in once that page lands.Testing
tsc --strict --noEmitagainst@onkernel/sdk. 0 errors.pyrightagainstkernel. 0 errors.mint broken-links: no broken links.mint broken-links --check-anchors: no broken anchors in the changed files. The remaining reports are pre-existing on other pages.mint validate: build and validation passed.git diff --check: clean.mint devcouldn't start in this environment). Check the Mintlify preview for tab rendering.Note
Low Risk
Documentation-only changes with no runtime, auth, or payment logic modifications.
Overview
The browser-agent payments guide previously covered only Link and AgentCard; this PR adds a full KERNEL card path and cross-links it from the wallets overview and kernel integration page.
In
enable-payments-in-browser-agent, prerequisites now call out KERNEL card’s live-only mode,merchant_urlorigin lock forfill, and wallet setup via the kernel guide. Step 4 gains a KERNEL card tab (first in the tab order) covering pre-checkoutauthorize(no browser/page args, optionalspend_approval), polling untilready,fillwith origin and billing constraints, one-shot checkout submit, and optionalconfirm_transaction—with TypeScript, Python, and CLI examples. A matching KERNEL card coding-agent CLI prompt was added alongside Link and AgentCard.payments,integrations/wallets/overview, andintegrations/wallets/kernelwere updated so the high-level flow and “next step” copy explicitly include KERNEL card.Reviewed by Cursor Bugbot for commit fc1c4af. Bugbot is set up for automated code reviews on this repo. Configure here.