Skip to content

Scheduling infrastructure for absolutely everyone.

Add debugging details (#2585)

Hariom Balhara05acd26efeec
diff --git a/apps/web/ee/pages/api/integrations/stripepayment/webhook.ts b/apps/web/ee/pages/api/integrations/stripepayment/webhook.ts
index 3bb8febe549..1b29a7e8849 100644
--- a/apps/web/ee/pages/api/integrations/stripepayment/webhook.ts
+++ b/apps/web/ee/pages/api/integrations/stripepayment/webhook.ts
@@ -33,7 +33,7 @@ async function handlePaymentSuccess(event: Stripe.Event) {
},
});
if (!payment?.bookingId) {
- console.log(JSON.stringify(payment));
+ console.log(JSON.stringify(paymentIntent), JSON.stringify(payment));
}
if (!payment?.bookingId) throw new Error("Payment not found");