-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: remove expired saved cards #345
Merged
Merged
Conversation
This file contains 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
PritishBudhiraja
added
the
Ready for Review
PR with label Ready for Review should only be reviewed.
label
May 2, 2024
vsrivatsa25
suggested changes
May 2, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Card is valid through the card.expiryMonth. Need to compare with next expiryMonth + 1 or expiryYear + 1 if expiryMonth == 12
…witch-web into saved-expired-cards-filter
vsrivatsa25
reviewed
May 2, 2024
Co-authored-by: Vrishab Srivatsa <[email protected]>
vsrivatsa25
approved these changes
May 2, 2024
vsrivatsa-edinburgh
previously approved these changes
May 3, 2024
ArushKapoorJuspay
approved these changes
May 3, 2024
ArushKapoorJuspay
approved these changes
May 3, 2024
github-actions
bot
added
the
Closed
Label will be automatically added when the PR will get merged to main
label
May 3, 2024
akash-c-k
pushed a commit
that referenced
this pull request
May 3, 2024
## [0.48.2](v0.48.1...v0.48.2) (2024-05-03) ### Bug Fixes * remove expired saved cards ([#345](#345)) ([97b66c7](97b66c7))
rising-dragon401
added a commit
to rising-dragon401/hyperswitch-web
that referenced
this pull request
Jul 2, 2024
## [0.48.2](juspay/hyperswitch-web@v0.48.1...v0.48.2) (2024-05-03) ### Bug Fixes * remove expired saved cards ([#345](juspay/hyperswitch-web#345)) ([97b66c7](juspay/hyperswitch-web@97b66c7))
PritishBudhiraja
removed
the
Ready for Review
PR with label Ready for Review should only be reviewed.
label
Aug 13, 2024
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.
Type of Change
Description
We were able to see saved cards which were expired. Filtered from fronted to don't see the expired cards.
How did you test it?
Check for expired cards in locker and these shouldn't come in Saved PM Screen.
Checklist
npm run re:build