fix: refetch subscription on update payment card close tab#39814
Merged
chaitanyapotti merged 1 commit intomainfrom Feb 5, 2026
Merged
fix: refetch subscription on update payment card close tab#39814chaitanyapotti merged 1 commit intomainfrom
chaitanyapotti merged 1 commit intomainfrom
Conversation
chaitanyapotti
approved these changes
Feb 5, 2026
Contributor
Builds ready [f9cb776]
UI Startup Metrics (1338 ± 121 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
lionellbriones
approved these changes
Feb 5, 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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Description
In shield subscription, we are missing subscription reload after user close tab and back to metamask from card update tab
This PR handle subscription reload even if user close tab only in card payment update tab
Changelog
CHANGELOG entry: handle subscription reload when user close shield card payment update stripe tab
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Small control-flow change limited to the card payment-method update flow; main risk is unintentionally swallowing non-tab-close errors and masking failures.
Overview
Fixes Shield card payment-method updates so subscriptions are still re-fetched when the Stripe tab is closed manually (instead of waiting for a redirect).
updateSubscriptionCardPaymentMethodnow catches the specificSHIELD_ERROR.tabActionFailedcase from#openAndWaitForTabToCloseand continues the flow, while rethrowing other errors.Written by Cursor Bugbot for commit f9cb776. This will update automatically on new commits. Configure here.