diff --git a/apps/web/ee/pages/api/integrations/stripepayment/webhook.ts b/apps/web/ee/pages/api/integrations/stripepayment/webhook.ts index 579c3ed36e..3bb8febe54 100644 --- a/apps/web/ee/pages/api/integrations/stripepayment/webhook.ts +++ b/apps/web/ee/pages/api/integrations/stripepayment/webhook.ts @@ -32,7 +32,9 @@ async function handlePaymentSuccess(event: Stripe.Event) { bookingId: true, }, }); - + if (!payment?.bookingId) { + console.log(JSON.stringify(payment)); + } if (!payment?.bookingId) throw new Error("Payment not found"); const booking = await prisma.booking.findUnique({ diff --git a/apps/web/next-i18next.config.js b/apps/web/next-i18next.config.js index 13d4653908..336d25a896 100644 --- a/apps/web/next-i18next.config.js +++ b/apps/web/next-i18next.config.js @@ -26,7 +26,6 @@ module.exports = { "sr", "sv", "vi", - "hu", ], }, localePath: path.resolve("./public/static/locales"),