diff --git a/packages/features/bookings/lib/handleNewBooking.ts b/packages/features/bookings/lib/handleNewBooking.ts index f41d4a1110..112482200d 100644 --- a/packages/features/bookings/lib/handleNewBooking.ts +++ b/packages/features/bookings/lib/handleNewBooking.ts @@ -2236,7 +2236,6 @@ async function handler( !originalRescheduledBooking?.paid && !!booking; - console.log("Booking requires payment", bookingRequiresPayment, paymentAppData); if (!isConfirmedByDefault && noEmail !== true && !bookingRequiresPayment) { await sendOrganizerRequestEmail({ ...evt, additionalNotes }); await sendAttendeeRequestEmail({ ...evt, additionalNotes }, attendeesList[0]); diff --git a/packages/features/ee/payments/api/webhook.ts b/packages/features/ee/payments/api/webhook.ts index 740483cdca..ba2937f562 100644 --- a/packages/features/ee/payments/api/webhook.ts +++ b/packages/features/ee/payments/api/webhook.ts @@ -44,9 +44,6 @@ async function getEventType(id: number) { } async function getBooking(bookingId: number) { - log.silly("getBooking", { - bookingId, - }); const booking = await prisma.booking.findUnique({ where: { id: bookingId, @@ -228,7 +225,6 @@ export async function handlePaymentSuccess(event: Stripe.Event) { await prisma.$transaction([paymentUpdate, bookingUpdate]); if (!isConfirmed) { - //TODO: Test an event that requires confirmation conditionally if (!requiresConfirmation) { await handleConfirmation({ user: userWithCredentials,