-
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(bank-redirect): dynamic field changes for bankredirect payment method #4650
Conversation
RequiredFieldInfo { | ||
required_field: "payment_method_data.billing.address.first_name".to_string(), | ||
display_name: "billing_name".to_string(), | ||
field_type: enums::FieldType::UserBillingName, |
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.
field type has to be UserFullName
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 can use UserBillingName also, In sdk , value for first_name
and last_name
will be concatenated and will appear as one field Billing Name.
RequiredFieldInfo { | ||
required_field: "payment_method_data.billing.address.last_name".to_string(), | ||
display_name: "billing_name".to_string(), | ||
field_type: enums::FieldType::UserBillingName, |
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.
in this case too
Type of Change
Description
Additional Changes
Motivation and Context
How did you test it?
Checklist
cargo +nightly fmt --all
cargo clippy