Skip to content

Commit 2fe55bf

Browse files
Anurag SinghAnurag Singh
authored andcommitted
refactor: remove showTerms for EFT
1 parent 5c27e72 commit 2fe55bf

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Types/PaymentType.res

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ type terms = {
5858
sepaDebit: showTerms,
5959
sofort: showTerms,
6060
usBankAccount: showTerms,
61-
eft: showTerms,
6261
}
6362
type buttonHeight = Default | Custom
6463
type heightType = ApplePay(int) | GooglePay(int) | Paypal(int) | Klarna(int) | SamsungPay(int)
@@ -308,7 +307,6 @@ let defaultTerms = {
308307
sepaDebit: Auto,
309308
sofort: Auto,
310309
usBankAccount: Auto,
311-
eft: Auto,
312310
}
313311
let defaultFields = {
314312
billingDetails: JSONObject(defaultBilling),
@@ -733,10 +731,6 @@ let getTerms = (dict, str, logger) => {
733731
"options.terms.usBankAccount",
734732
logger,
735733
),
736-
eft: getWarningString(json, "eft", "auto", ~logger)->getShowTerms(
737-
"options.terms.eft",
738-
logger
739-
),
740734
}
741735
})
742736
->Option.getOr(defaultTerms)

0 commit comments

Comments
 (0)