Skip to content

fix(rest/python): reject unoffered selected_option_id with 400 INVALID_REQUEST - #272

Open
aksharprabhudesai wants to merge 1 commit into
Universal-Commerce-Protocol:mainfrom
aksharprabhudesai:fix/python-validate-selected-option
Open

aksharprabhudesai wants to merge 1 commit into
Universal-Commerce-Protocol:mainfrom
aksharprabhudesai:fix/python-validate-selected-option

Conversation

@aksharprabhudesai

Copy link
Copy Markdown
Contributor

Fixes #262

Rejects a checkout fulfillment group whose selected_option_id is not in the group's offered options with 400 INVALID_REQUEST (listing the offered option IDs), and checks against offered options in _has_fulfillment_selection.

@damaz91 damaz91 added the status:needs-triage Signal that the PR is ready for human triage label Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status:needs-triage Signal that the PR is ready for human triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: rest/python: checkout accepts a selected_option_id that was never offered

2 participants