fix(core): [CARD TESTING GUARD] Added Card Testing Guard Config response in case of NULL#7478
Merged
Gnanasundari24 merged 12 commits intomainfrom Apr 21, 2025
Merged
fix(core): [CARD TESTING GUARD] Added Card Testing Guard Config response in case of NULL#7478Gnanasundari24 merged 12 commits intomainfrom
Gnanasundari24 merged 12 commits intomainfrom
Conversation
Changed Files
|
Closed
2 tasks
jarnura
requested changes
Mar 25, 2025
crates/router/src/types/api/admin.rs
Outdated
| let masked_outgoing_webhook_custom_http_headers = | ||
| outgoing_webhook_custom_http_headers.map(MaskedHeaders::from_headers); | ||
|
|
||
| let card_testing_guard_config = item.card_testing_guard_config.or({ |
Member
There was a problem hiding this comment.
make this a impl based function, so that we reuse in below and other places too
Contributor
Author
There was a problem hiding this comment.
I have resolved it, thanks
jarnura
approved these changes
Apr 1, 2025
deepanshu-iiitu
approved these changes
Apr 1, 2025
pixincreate
added a commit
that referenced
this pull request
Apr 22, 2025
…acilitapay-pix-pmt * 'main' of github.com:juspay/hyperswitch: fix(connector): revert noon-paypal (#7864) refactor(cypress): do not update `card_expiry` while updating card info (#7834) feat(vsaas): add processor_merchant_id and created_by column in payment_intents and payments_attempts for v1 (#7768) chore(dynamic-fields): remove billing details as required fields for Worldpay connector (#7853) feat(dynamic_routing): integration of elimination routing for core flows (#6816) chore(version): 2025.04.22.0 revert: fix(connector): [noon] address `next_action_url` being `null` for cards in 3ds payment (#7859) feat(dynamic_routing): add open router integration for success based routing (#7795) feat(refunds_v2): Add refund create core flow (#7619) fix(core): [CARD TESTING GUARD] Added Card Testing Guard Config response in case of NULL (#7478)
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
In our current implementation of
Card Testing Guard, thecard_testing_guard_configcan beNULLfor existing profiles. That has been fixed in this PR to return the default values for
card_testing_guard_configin case the underlying data isNULLAdditional Changes
Motivation and Context
Issue Link: #7598
How did you test it?
Postman Tests
Business Profile Retrieve
-Request
-Response
Cypress Tests
Checklist
cargo +nightly fmt --allcargo clippy