Skip to content

Commit

Permalink
remove clg statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratchet7x5 committed Dec 15, 2024
1 parent c95f677 commit 980dfcc
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 23 deletions.
5 changes: 0 additions & 5 deletions api/controller/stripeController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ export const createCheckout = asyncHandler(
email = undefined;
}

let checkPriceId = priceId === undefined || priceId === "";
console.log(
"createCheckout: is priceId undefined or empty: ",
checkPriceId
);
// if priceId is undefined, send a 404 back.
if (priceId === undefined || priceId === "") {
return res
Expand Down
4 changes: 0 additions & 4 deletions web/src/components/forms/CheckoutInformation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ export default function CheckoutInformation({
if (response.status === 200) {
// Form Submission Successful
setSubmitLoading(false);
console.log(
"CheckoutInformation",
response.data.updateUserInfoOrNewUser.userTicketId
);
// Move user to payment screen after the user ticket id is received
navigateToPaymentScreen(
response.data.updateUserInfoOrNewUser.userTicketId
Expand Down
7 changes: 0 additions & 7 deletions web/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,6 @@ import EventAttendanceSelectScreen from "./screens/EventAttendanceSelectScreen.t
import { ExecRoute } from "@utils/AdminRouteProtection.tsx";
import { getUserMetadaData } from "./api/apiRequests.ts";

console.log(`Frontend env vars :
VITE_API_URL=${import.meta.env.VITE_API_URL}
VITE_STRAPI_URL=${import.meta.env.VITE_STRAPI_URL},
VITE_APP_URL=${import.meta.env.VITE_APP_URL},
VITE_APP_NAME=${import.meta.env.VITE_APP_NAME},
VITE_STRIPE_PUBLISHABLE_KEY=${import.meta.env.VITE_STRIPE_PUBLISHABLE_KEY},`);

//supertokens code
SuperTokens.init({
appInfo: {
Expand Down
7 changes: 0 additions & 7 deletions web/src/screens/CheckoutScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ export default function CheckoutScreen() {
priceId: location.state.data.priceId,
userTicketId: location.state.data.userTicketId,
};

console.log(
"CheckoutScreen: location.priceId" + location.state.data.priceId
);
console.log(
"CheckoutScreen: location.ticketId" + location.state.data.ticketId
);
} catch {
return <CheckoutError />;
}
Expand Down

0 comments on commit 980dfcc

Please sign in to comment.