diff --git a/web/src/components/forms/CheckoutInformation.tsx b/web/src/components/forms/CheckoutInformation.tsx index dd8f816..fe13465 100644 --- a/web/src/components/forms/CheckoutInformation.tsx +++ b/web/src/components/forms/CheckoutInformation.tsx @@ -72,7 +72,10 @@ export default function CheckoutInformation({ if (response.status === 200) { // Form Submission Successful setSubmitLoading(false); - console.log(response.data.updateUserInfoOrNewUser.userTicketId); + console.log( + "CheckoutInformation", + response.data.updateUserInfoOrNewUser.userTicketId + ); // Move user to payment screen after the user ticket id is received navigateToPaymentScreen( response.data.updateUserInfoOrNewUser.userTicketId diff --git a/web/src/screens/CheckoutInformationScreen.tsx b/web/src/screens/CheckoutInformationScreen.tsx index 43e730b..ba8bf12 100644 --- a/web/src/screens/CheckoutInformationScreen.tsx +++ b/web/src/screens/CheckoutInformationScreen.tsx @@ -23,6 +23,14 @@ export default function CheckoutInformationScreen() { try { priceId = location.state.data.priceId; ticketId = location.state.data.ticketId; + console.log( + "CheckoutInformationScreen: location.priceId" + + location.state.data.priceId + ); + console.log( + "CheckoutInformationScreen: location.ticketId" + + location.state.data.ticketId + ); } catch { return ; } diff --git a/web/src/screens/CheckoutScreen.tsx b/web/src/screens/CheckoutScreen.tsx index 7c2581c..5f75f7b 100644 --- a/web/src/screens/CheckoutScreen.tsx +++ b/web/src/screens/CheckoutScreen.tsx @@ -22,6 +22,13 @@ 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 ; }