From 52004b63f0c646553bd3077be9404173d03cbb06 Mon Sep 17 00:00:00 2001 From: rising-dragon401 Date: Tue, 12 Mar 2024 13:16:30 +0530 Subject: [PATCH] fix: card payment customer_acceptance (#220) --- src/Payments/CardPayment.res | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Payments/CardPayment.res b/src/Payments/CardPayment.res index a0f0a84..7a798a7 100644 --- a/src/Payments/CardPayment.res +++ b/src/Payments/CardPayment.res @@ -128,6 +128,8 @@ let make = ( } else { defaultCardBody } + } else if isGuestCustomer || list.payment_type === "normal" { + defaultCardBody } else { defaultCardBody->Js.Array2.concat(onSessionBody) }