Merge pull request #27215 from overleaf/rh-stripe-pause-status

Update features and subscription state when Stripe pause starts and ends

GitOrigin-RevId: 368f5d9b046cfe26e996be336189081b96926713
This commit is contained in:
roo hutton
2025-08-06 08:04:57 +00:00
committed by Copybot
parent 215059f461
commit 58b8e36739
9 changed files with 276 additions and 0 deletions
@@ -74,6 +74,14 @@ export type PaymentIntentPaymentFailedWebhookEvent = {
request: Stripe.Event.Request
}
export type InvoiceVoidedWebhookEvent = {
type: 'invoice.voided'
data: {
object: Stripe.Invoice
}
request: Stripe.Event.Request
}
export type CustomerSubscriptionWebhookEvent =
| CustomerSubscriptionUpdatedWebhookEvent
| CustomerSubscriptionCreatedWebhookEvent
@@ -82,4 +90,5 @@ export type CustomerSubscriptionWebhookEvent =
export type WebhookEvent =
| CustomerSubscriptionWebhookEvent
| InvoicePaidWebhookEvent
| InvoiceVoidedWebhookEvent
| PaymentIntentPaymentFailedWebhookEvent