From c2067e9c274727eda03686d5986c5071f2da17b2 Mon Sep 17 00:00:00 2001 From: Pritish Budhiraja <1805317@kiit.ac.in> 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 a0f0a8439..7a798a732 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) }