From 42fa9701e5abc1fe054046f77fee0cbc1df61d9f Mon Sep 17 00:00:00 2001 From: Kristina <7614497+khjrtbrg@users.noreply.github.com> Date: Wed, 19 Nov 2025 09:44:21 +0100 Subject: [PATCH] Merge pull request #29714 from overleaf/kh-rm-dead-sessions-code [web] remove dead code from Stripe hosted checkout GitOrigin-RevId: 47372e320dbcee44e04b3bd731a585633433a5c8 --- services/web/types/stripe/webhook-event.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/services/web/types/stripe/webhook-event.ts b/services/web/types/stripe/webhook-event.ts index 798725102c..3a15d00147 100644 --- a/services/web/types/stripe/webhook-event.ts +++ b/services/web/types/stripe/webhook-event.ts @@ -107,17 +107,6 @@ export interface InvoiceOverdueWebhookEvent extends Stripe.EventBase { } } -export interface CheckoutSessionCompletedWebhookEvent extends Stripe.EventBase { - type: 'checkout.session.completed' - data: { - object: Stripe.Checkout.Session & { - metadata: { - userId?: string - } - } - } -} - export interface CustomerCreatedWebhookEvent extends Stripe.EventBase { type: 'customer.created' data: { @@ -137,5 +126,4 @@ export type WebhookEvent = | PaymentIntentPaymentFailedWebhookEvent | SetupIntentSetupFailedWebhookEvent | InvoiceOverdueWebhookEvent - | CheckoutSessionCompletedWebhookEvent | CustomerCreatedWebhookEvent