From e61065595cf4d0c9237c4356623c1543c1f0d396 Mon Sep 17 00:00:00 2001 From: rising-dragon401 Date: Wed, 17 Apr 2024 13:54:09 +0530 Subject: [PATCH] fix: card payment changes (#303) --- src/Payments/CardPayment.res | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Payments/CardPayment.res b/src/Payments/CardPayment.res index 5757038..bc22d7d 100644 --- a/src/Payments/CardPayment.res +++ b/src/Payments/CardPayment.res @@ -296,10 +296,10 @@ let make = ( {switch (list.mandate_payment, options.terms.card, list.payment_type) { - | (Some(_), Auto, _) - | (_, Always, _) - | (_, _, NEW_MANDATE) - | (_, _, SETUP_MANDATE) => + | (Some(_), Auto, NEW_MANDATE) + | (Some(_), Auto, SETUP_MANDATE) + | (_, Always, NEW_MANDATE) + | (_, Always, SETUP_MANDATE) =>