fix(router): [Cybersource] add flag to indicate final capture #7085
Merged
Gnanasundari24 merged 4 commits intomainfrom Feb 4, 2025
Merged
fix(router): [Cybersource] add flag to indicate final capture #7085Gnanasundari24 merged 4 commits intomainfrom
Gnanasundari24 merged 4 commits intomainfrom
Conversation
Changed Files
|
deepanshu-iiitu
previously approved these changes
Jan 22, 2025
swangi-kumari
previously approved these changes
Jan 22, 2025
3465713
deepanshu-iiitu
previously approved these changes
Jan 23, 2025
swangi-kumari
previously approved these changes
Jan 23, 2025
15f9e0e
deepanshu-iiitu
approved these changes
Jan 24, 2025
swangi-kumari
approved these changes
Jan 24, 2025
Contributor
|
@AkshayaFoiger Where are we sending isFinal flag? |
Contributor
Author
I have added the capture call test case above. The change made in this PR will only affect CyberSource's capture call. CyberSource does not provide an explicit response for sending this flag. Instead, this flag is expected to be passed from CyberSource to the issuer bank. Hence the the responsibility of releasing remaining authorized amount is being delegated to the issuer bank. |
pixincreate
added a commit
that referenced
this pull request
Feb 4, 2025
…-connectors * 'main' of github.com:juspay/hyperswitch: ci: disable stripe in cypress (#7183) fix(router): [Cybersource] add flag to indicate final capture (#7085) fix: invalidate surcharge cache during update (#6907) chore(version): 2025.02.04.0 fix(samsung_pay): populate `payment_method_data` in the payment response (#7095) feat(router): add core changes for external authentication flow through unified_authentication_service (#7063) fix(connector): [NETCETERA] add `sdk-type` and `default-sdk-type` in netcetera authentication request (#7156)
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
Added flag to the CyberSource capture call to indicate the final capture in cases of manual capture.
This flag has been incorporated into the CyberSource capture request body to ensure the issuer bank is informed appropriately.
How did you test it?
Create a payment with cybersource
Response
Capture call
Response
Psync
Response
Checklist
cargo +nightly fmt --allcargo clippy