Skip to content

fix: wrap checkout completion input - #56

Merged
igrigorik merged 1 commit into
mainfrom
fix/checkout-completion-input
Sep 7, 2026
Merged

fix: wrap checkout completion input#56
igrigorik merged 1 commit into
mainfrom
fix/checkout-completion-input

Conversation

@igrigorik

Copy link
Copy Markdown
Contributor

Wrap the CLI-facing completion body under checkout, align fixtures with the binding, and add an exact 13-operation envelope matrix so helper-level tests cannot mask registration drift.

Fixes #47

Both supported UCP bindings require complete_checkout arguments to include a
checkout body, but the CLI registered the operation as id-only. This exposed
an empty input schema and rejected unwrapped payment input before dispatch.

Wrap the CLI-facing completion body under checkout, align fixtures with the
binding, and add an exact 13-operation envelope matrix so helper-level tests
cannot mask registration drift.

Fixes #47
@igrigorik
igrigorik merged commit c51f25b into main Sep 7, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

checkout complete --input-schema omits required checkout wrapper while validation requires it

1 participant