-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat(router): Add support for retries with clear pan and network token payment method data #6905
Open
prasunna09
wants to merge
14
commits into
main
Choose a base branch
from
add-clear-pan-retries
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
d6ed475
add clear pan possible to gsm
prasunna09 e32db7d
add vault operation in payment_data
prasunna09 1ecbe62
add support for clear pan retries
prasunna09 5019740
Merge main
prasunna09 a10794e
add support for clear pan retries
prasunna09 32402d6
chore: run formatter
hyperswitch-bot[bot] fccb0ec
docs(openapi): re-generate OpenAPI specification
hyperswitch-bot[bot] c6fd320
code refactoring
prasunna09 7b879e8
chore: run formatter
hyperswitch-bot[bot] 628186d
code refactoring
prasunna09 c63a213
rebase
prasunna09 9c1f7a5
update schema.rs
prasunna09 13a7150
Merge branch 'main' into add-clear-pan-retries
prasunna09 d9e1e33
chore: run formatter
hyperswitch-bot[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -59,6 +59,7 @@ pub struct Profile { | |||||
pub max_auto_retries_enabled: Option<i16>, | ||||||
pub is_click_to_pay_enabled: bool, | ||||||
pub authentication_product_ids: Option<serde_json::Value>, | ||||||
pub is_clear_pan_retries_enabled: Option<bool>, | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
} | ||||||
|
||||||
#[cfg(feature = "v1")] | ||||||
|
@@ -104,6 +105,7 @@ pub struct ProfileNew { | |||||
pub max_auto_retries_enabled: Option<i16>, | ||||||
pub is_click_to_pay_enabled: bool, | ||||||
pub authentication_product_ids: Option<serde_json::Value>, | ||||||
pub is_clear_pan_retries_enabled: Option<bool>, | ||||||
} | ||||||
|
||||||
#[cfg(feature = "v1")] | ||||||
|
@@ -146,6 +148,7 @@ pub struct ProfileUpdateInternal { | |||||
pub max_auto_retries_enabled: Option<i16>, | ||||||
pub is_click_to_pay_enabled: Option<bool>, | ||||||
pub authentication_product_ids: Option<serde_json::Value>, | ||||||
pub is_clear_pan_retries_enabled: Option<bool>, | ||||||
} | ||||||
|
||||||
#[cfg(feature = "v1")] | ||||||
|
@@ -187,6 +190,7 @@ impl ProfileUpdateInternal { | |||||
max_auto_retries_enabled, | ||||||
is_click_to_pay_enabled, | ||||||
authentication_product_ids, | ||||||
is_clear_pan_retries_enabled, | ||||||
} = self; | ||||||
Profile { | ||||||
profile_id: source.profile_id, | ||||||
|
@@ -250,6 +254,8 @@ impl ProfileUpdateInternal { | |||||
.unwrap_or(source.is_click_to_pay_enabled), | ||||||
authentication_product_ids: authentication_product_ids | ||||||
.or(source.authentication_product_ids), | ||||||
is_clear_pan_retries_enabled: is_clear_pan_retries_enabled | ||||||
.or(source.is_clear_pan_retries_enabled), | ||||||
} | ||||||
} | ||||||
} | ||||||
|
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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
We should not be ignoring the error here