Exclude gift card/coupon errors from blocking place order#725
Merged
Conversation
…g place order Gift card and coupon code errors are non-blocking — the user should still be able to place the order without a valid gift card applied. Closes #724
❌ Deploy Preview for commercelayer-react-components failed.
|
…rades - Bump lerna from ^9.0.3 to ^9.0.7 - Bump storybook from ^8.0.0 to ^8.6.17 (WebSocket hijacking fix) - Add pnpm.overrides to patch transitive vulns: tar, rollup, minimatch, ajv, esbuild Resolves 25 vulnerabilities (24 high, 1 moderate) → 0
commit: |
malessani
self-requested a review
March 24, 2026 15:17
malessani
approved these changes
Mar 24, 2026
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.
Summary
When a user enters an invalid or fake gift card/coupon code, the Place Order button was incorrectly disabled until the input was cleared.
Gift card and coupon code errors are non-blocking — the order should still be placeable without a valid gift card applied.
Changes
gift_card_code,coupon_code, andgift_card_or_coupon_codeerrors from the blocking check inPlaceOrderButtonCloses #724