From 6ea9385129a7d26faa051e8c7e20f37c831c0335 Mon Sep 17 00:00:00 2001 From: Jan Molcik Date: Fri, 20 Dec 2024 11:22:28 +0100 Subject: [PATCH] show register form only after successful payment --- storefront/pages/order-payment-confirmation.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/storefront/pages/order-payment-confirmation.tsx b/storefront/pages/order-payment-confirmation.tsx index ec7b0fa7f8..10780d48fa 100644 --- a/storefront/pages/order-payment-confirmation.tsx +++ b/storefront/pages/order-payment-confirmation.tsx @@ -71,11 +71,13 @@ const OrderPaymentConfirmationPage: FC = () => { paymentStatusData={paymentStatusData} successContentData={successContentData} /> - + {paymentStatusData?.UpdatePaymentStatus.isPaid && successContentData && ( + + )}