From 05acd26efeec7b10d6723f6941a13bffec8f0271 Mon Sep 17 00:00:00 2001 From: Hariom Balhara Date: Tue, 26 Apr 2022 16:45:57 +0530 Subject: [PATCH] Add debugging details (#2585) --- apps/web/ee/pages/api/integrations/stripepayment/webhook.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/ee/pages/api/integrations/stripepayment/webhook.ts b/apps/web/ee/pages/api/integrations/stripepayment/webhook.ts index 3bb8febe54..1b29a7e884 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");