Merge branch 'preview/discount-pages' into 'main'

Preview/discount pages

See merge request witapp/aura-webapp!43
This commit is contained in:
Victor Ershov 2024-02-17 23:29:48 +00:00
commit 9ade31a25c
2 changed files with 2 additions and 4 deletions

View File

@ -8,7 +8,7 @@ import MainButton from "@/components/MainButton";
function PaymentFailPage(): JSX.Element { function PaymentFailPage(): JSX.Element {
const { t } = useTranslation(); const { t } = useTranslation();
const navigate = useNavigate(); const navigate = useNavigate();
const handleNext = () => navigate(routes.client.paymentMethod()); const handleNext = () => navigate(routes.client.trialPayment());
return ( return (
<section className={`${styles.page} page`}> <section className={`${styles.page} page`}>

View File

@ -68,9 +68,7 @@ function ApplePayButton({
}, },
{ handleActions: false } { handleActions: false }
); );
paymentIntent;
console.log("STRIPE APPLEPAY paymentIntent: ", paymentIntent);
console.log("STRIPE APPLEPAY ERROR: ", stripeError);
fetch("https://9bbb-78-85-20-145.ngrok-free.app/test", { fetch("https://9bbb-78-85-20-145.ngrok-free.app/test", {
method: "POST", method: "POST",