feat(router): add card testing check in payments eligibility flow#9876
Merged
likhinbopanna merged 14 commits intomainfrom Oct 17, 2025
Merged
feat(router): add card testing check in payments eligibility flow#9876likhinbopanna merged 14 commits intomainfrom
likhinbopanna merged 14 commits intomainfrom
Conversation
…tch into add-eligibility-post-api
Changed Files
|
jarnura
approved these changes
Oct 16, 2025
su-shivanshmathur
approved these changes
Oct 16, 2025
drdholu
pushed a commit
to drdholu/hyperswitch
that referenced
this pull request
Oct 30, 2025
…spay#9876) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
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.
Type of Change
Description
Reference:
Card Testing Gaurd - #7108
Payments Eligibility Flow - #9774
This PR adds the Card Testing Gaurd check to the existing Payments eligibility checks flow to avoid detection before committing larger fraudulent purchases
Additional Changes
Motivation and Context
How did you test it?
Tested Manually
CURL
Response
Perform 3 or more failure payments using same card number + ip address combination
Call Payments eligibility API with the same card number and ip address to see Deny as the next_action with appropritate error message
CURL
Response
Checklist
cargo +nightly fmt --allcargo clippy