Skip to content

Commit

Permalink
feat: HS-2222: Dynamic fields support for IDeal and Eps
Browse files Browse the repository at this point in the history
  • Loading branch information
prafulkoppalkar committed Jan 30, 2024
1 parent e8a512c commit af049d1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Payments/PaymentMethodsRecord.res
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ let paymentMethodsFields = [
paymentMethodName: "eps",
icon: Some(icon("eps", ~size=19, ~width=25)),
displayName: "EPS",
fields: [Bank, FullName, InfoElement],
fields: [InfoElement],
miniIcon: None,
},
{
Expand Down Expand Up @@ -321,7 +321,7 @@ let paymentMethodsFields = [
paymentMethodName: "ideal",
icon: Some(icon("ideal", ~size=19, ~width=25)),
displayName: "iDEAL",
fields: [Bank, FullName, InfoElement],
fields: [InfoElement],
miniIcon: None,
},
{
Expand Down Expand Up @@ -557,6 +557,8 @@ let dynamicFieldsEnabledPaymentMethods = [
"apple_pay",
"bancontact_card",
"open_banking_uk",
"eps",
"ideal",
]

let getIsBillingField = requiredFieldType => {
Expand Down

0 comments on commit af049d1

Please sign in to comment.