A4A: Dismiss checkout errors after leaving checkout - #113345
Merged
cleacos merged 6 commits intoAug 7, 2026
Merged
Conversation
Scope Billing Dragon cart errors to the active checkout session. Remove tracked notices and clear cached cart messages on unmount to prevent stale errors from replaying.
|
WordPress.com
Automattic for Agencies
|
cleacos
marked this pull request as ready for review
August 6, 2026 13:15
Keep the checkout lifecycle behavior inside Billing Dragon so shared cart consumers remain unchanged. Remove A4A checkout notices and clear cached cart messages when the checkout unmounts.
vitozev
approved these changes
Aug 7, 2026
vitozev
left a comment
Contributor
There was a problem hiding this comment.
It works as expected. I wonder whether this could be an issue we may have on the WP.com checkout too, and if that's the case, it's probably worth fixing the issue there. But let's ship this and reach out to Shillings for feedback.
cleacos
deleted the
a4a-3163/dismiss-checkout-errors-after-leaving-checkout
branch
August 7, 2026 11:13
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.
Resolves A4A-3163
Proposed Changes
Why are these changes being made?
WPCOM cart validation errors currently use persistent global notices. They can remain visible outside A4A checkout and replay from cached cart state after the user fixes the problem.
Testing Instructions
Pre-merge Checklist
— ClemenAgent (Powered by Codex)