From 0db4837fe1dad923a8d2bed64391428aecca0773 Mon Sep 17 00:00:00 2001 From: Elmo Kankkunen Date: Wed, 20 Sep 2023 23:40:29 +0300 Subject: [PATCH] payment intent test --- src/views/JoinPage/JoinPageView.tsx | 34 ++++++++++++++--------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/views/JoinPage/JoinPageView.tsx b/src/views/JoinPage/JoinPageView.tsx index 74c726e..0e9f97c 100644 --- a/src/views/JoinPage/JoinPageView.tsx +++ b/src/views/JoinPage/JoinPageView.tsx @@ -4,28 +4,28 @@ import Button from "@components/Button" import Stripe from "stripe" const stripe = new Stripe("", // <--- API AVAIN - {apiVersion: "2023-08-16"} -) + {apiVersion: "2023-08-16"} +); const paymentIntentTest = async () => { - const intent = await stripe.paymentIntents.create ({ - amount: 8, - currency: "eur", - }) - return intent + const intent = await stripe.paymentIntents.create ({ + amount: 8, + currency: "eur", + }); + return intent; } const JoinPageView: React.FC = () => ( - <> - -

Liity jäseneksi ja maksa jäsenmaksu

-

- Killan jäsenhakemuksen voi täyttää täältä. Muistakaa - myös maksaa jäsenmaksu! -

- -
- + <> + +

Liity jäseneksi ja maksa jäsenmaksu

+

+ Killan jäsenhakemuksen voi täyttää täältä. Muistakaa + myös maksaa jäsenmaksu! +

+ +
+ ) export default JoinPageView;