diff --git a/src/Payments/CardPayment.res b/src/Payments/CardPayment.res index f2a16c723..acccb7ea4 100644 --- a/src/Payments/CardPayment.res +++ b/src/Payments/CardPayment.res @@ -183,6 +183,7 @@ let make = ( let paymentMethod = isBancontact ? "bank_redirect" : "card" let paymentMethodType = isBancontact ? "bancontact_card" : "debit" let conditionsForShowingSaveCardCheckbox = + list.mandate_payment->Option.isNone && !isGuestCustomer && list.payment_type !== SETUP_MANDATE && options.displaySavedPaymentMethodsCheckbox && @@ -190,8 +191,6 @@ let make = ( let nicknameFieldClassName = conditionsForShowingSaveCardCheckbox ? "pt-2" : "pt-5" - Js.log2("sdvjnsddsjd", (list.mandate_payment, options.terms.card)) -