-
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
refactor(FRM): refactor frm configs #4581
Merged
Merged
Changes from 19 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
e4a8fc4
refactor frm configs
srujanchikke f059940
docs(openapi): re-generate OpenAPI specification
hyperswitch-bot[bot] 11779d3
handle error message only in case of fraud payment
srujanchikke 79fec1b
Merge branch 'frm_configs' of github.com:juspay/hyperswitch into frm_…
srujanchikke c4d7e1b
add check for authentication failure from frm processor
srujanchikke b98f209
Merge branch 'main' of github.com:juspay/hyperswitch into frm_configs
srujanchikke 3c1710f
populate frm_metadata in payments response
srujanchikke 219170d
docs(openapi): re-generate OpenAPI specification
hyperswitch-bot[bot] 86c45a8
remove frm_metadata from payment_data
srujanchikke ba93967
Merge branch 'frm_configs' of github.com:juspay/hyperswitch into frm_…
srujanchikke e4d12b6
spell check fix
srujanchikke e33c73a
resolve conflicts
srujanchikke bc88654
provide backward compatibility
srujanchikke b51c5a4
use to_owned instead of clone
srujanchikke 9c693b9
Merge branch 'main' into frm_configs
srujanchikke 669e30a
provide comments
srujanchikke ab278a4
add openapi_spec
srujanchikke 036ce1e
add open api spec
srujanchikke cb02c1b
add openapi_spec
srujanchikke f073443
resolve comments
srujanchikke 712ec21
docs(openapi): re-generate OpenAPI specification
hyperswitch-bot[bot] a8d4e76
Merge branch 'main' into frm_configs
srujanchikke 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
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -729,8 +729,11 @@ pub struct FrmPaymentMethod { | |||||
///payment methods(card, wallet, etc) that can be used in the payment | ||||||
#[schema(value_type = PaymentMethod,example = "card")] | ||||||
pub payment_method: Option<common_enums::PaymentMethod>, | ||||||
///payment method types(credit, debit) that can be used in the payment | ||||||
pub payment_method_types: Vec<FrmPaymentMethodType>, | ||||||
///payment method types(credit, debit) that can be used in the payment. This field is deprecated. It has not been removed to provide backward compatibility. | ||||||
pub payment_method_types: Option<Vec<FrmPaymentMethodType>>, | ||||||
///frm flow type to be used...can be pre/post | ||||||
#[schema(value_type = FrmPreferredFlowTypes)] | ||||||
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
|
||||||
pub flow: Option<api_enums::FrmPreferredFlowTypes>, | ||||||
} | ||||||
|
||||||
///Details of FrmPaymentMethodType are mentioned here... it should be passed in payment connector create api call, and stored in merchant_connector_table | ||||||
|
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
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.