Skip to content

Warn on definitely undeclared checkout fulfillment methods - #70

Open
DeepanshuPal wants to merge 4 commits into
Shopify:mainfrom
DeepanshuPal:fix/46-fulfillment-method-warning
Open

DeepanshuPal wants to merge 4 commits into
Shopify:mainfrom
DeepanshuPal:fix/46-fulfillment-method-warning

Conversation

@DeepanshuPal

Copy link
Copy Markdown

Relates to #46. The CLI now emits an advisory stderr warning when a checkout request names a fulfillment method definitely absent from the merchant profile's matching-version allows_method_combinations. It still sends the request and tells the operator to check returned fulfillment and buyer state. Missing, malformed, version-mismatched, or ambiguous configuration remains silent and never blocks dispatch.

This PR only adds a diagnostic. It does not claim that Shopify pickup is implemented, nor prescribe continue_url as a fallback.

Verification: 978 non-integration tests passed; TypeScript typecheck, Biome on changed files, and diff check passed. Synthetic tests cover shipping-only pickup, mixed combinations, uncertain configuration, and the CLI warning-before-dispatch behavior.

This branch has not been deployed

No deployments
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.

1 participant