diff --git a/web/src/components/forms/CheckoutInformation.tsx b/web/src/components/forms/CheckoutInformation.tsx
index 36097c1..7c36bae 100644
--- a/web/src/components/forms/CheckoutInformation.tsx
+++ b/web/src/components/forms/CheckoutInformation.tsx
@@ -105,7 +105,6 @@ export default function CheckoutInformation({
});
// Mutation hook
-
mutateAsync({
ticketId: ticketId,
name: name,
@@ -113,16 +112,7 @@ export default function CheckoutInformation({
phoneNumber: phoneNumber,
answers: answerList,
});
- // const temp = await mutateAsync(data)
- // call post request
- // onSubmit({
- // // ticketId: ticketId,
- // name: name,
- // email: email,
- // phoneNumber: phoneNumber,
- // answers: answerList,
- // });
- // mutateAsync()
+
};
// Loading
diff --git a/web/src/screens/CheckoutScreen.tsx b/web/src/screens/CheckoutScreen.tsx
index 9024c3f..5595a16 100644
--- a/web/src/screens/CheckoutScreen.tsx
+++ b/web/src/screens/CheckoutScreen.tsx
@@ -26,7 +26,6 @@ export default function CheckoutScreen() {
bodyData = {
priceId: location.state.data.priceId,
userTicketId: location.state.data.userTicketId,
- // priceId: "asdfa"
};
} catch {
return ;
@@ -36,18 +35,6 @@ export default function CheckoutScreen() {
mutateAsync(bodyData);
}, []);
- console.log(data?.clientSecret);
-
- console.log(status);
- // // Stripe payments
- // const fetchClientSecret = useCallback(async () => {
- // // Create a Checkout Session
- // return await fetchEventOrMembershipCheckoutSecret(bodyData);
- // }, []);
-
- // can be null to options.clientSecret or options.fetchClientSecret if you are performing an initial server-side render or when generating a static site.
- // const options = { fetchClientSecret };
-
if (status === "pending") {
return ;
}