Skip to content

Commit

Permalink
feat: enabled afterpay with dynamic fields
Browse files Browse the repository at this point in the history
  • Loading branch information
prafulkoppalkar committed Jun 4, 2024
1 parent 1f99739 commit 55c5f18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Payments/PaymentMethodsRecord.res
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ let icon = (~size=22, ~width=size, name) => {
let paymentMethodsFields = [
{
paymentMethodName: "afterpay_clearpay",
fields: [Email, FullName, InfoElement],
fields: [InfoElement],
icon: Some(icon("afterpay", ~size=19)),
displayName: "After Pay",
miniIcon: None,
Expand Down Expand Up @@ -621,6 +621,7 @@ let dynamicFieldsEnabledPaymentMethods = [
"pix_transfer",
"giropay",
"local_bank_transfer_transfer",
"afterpay_clearpay",
]

let getIsBillingField = requiredFieldType => {
Expand Down

0 comments on commit 55c5f18

Please sign in to comment.