From a46b3a812da1d8e815354acece8914b8d20f6971 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B5=D0=BD=D0=B8=D1=81=20=D0=9A=D0=B0=D1=82=D0=B0?= =?UTF-8?q?=D0=B5=D0=B2?= Date: Sat, 17 Feb 2024 23:29:48 +0000 Subject: [PATCH] Preview/discount pages --- src/components/PaymentPage/results/ErrorPage/index.tsx | 2 +- src/components/StripePage/ApplePayButton/index.tsx | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/PaymentPage/results/ErrorPage/index.tsx b/src/components/PaymentPage/results/ErrorPage/index.tsx index b5eab29..98bc20e 100644 --- a/src/components/PaymentPage/results/ErrorPage/index.tsx +++ b/src/components/PaymentPage/results/ErrorPage/index.tsx @@ -8,7 +8,7 @@ import MainButton from "@/components/MainButton"; function PaymentFailPage(): JSX.Element { const { t } = useTranslation(); const navigate = useNavigate(); - const handleNext = () => navigate(routes.client.paymentMethod()); + const handleNext = () => navigate(routes.client.trialPayment()); return (
diff --git a/src/components/StripePage/ApplePayButton/index.tsx b/src/components/StripePage/ApplePayButton/index.tsx index e7a0988..abf3c9a 100644 --- a/src/components/StripePage/ApplePayButton/index.tsx +++ b/src/components/StripePage/ApplePayButton/index.tsx @@ -68,9 +68,7 @@ function ApplePayButton({ }, { handleActions: false } ); - - console.log("STRIPE APPLEPAY paymentIntent: ", paymentIntent); - console.log("STRIPE APPLEPAY ERROR: ", stripeError); + paymentIntent; fetch("https://9bbb-78-85-20-145.ngrok-free.app/test", { method: "POST",