mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Merge pull request #27551 from overleaf/kh-fix-failing-webhook-event
[web] prefer metadata over email for invoice.paid events GitOrigin-RevId: cfb06333b62dfb5018bcdee0f153a812d19ff328
This commit is contained in:
@@ -53,7 +53,15 @@ export type CustomerSubscriptionsDeletedWebhookEvent = {
|
||||
export type InvoicePaidWebhookEvent = {
|
||||
type: 'invoice.paid'
|
||||
data: {
|
||||
object: Stripe.Invoice
|
||||
object: Stripe.Invoice & {
|
||||
parent: Stripe.Invoice.Parent & {
|
||||
subscription_details: Stripe.Invoice.Parent.SubscriptionDetails & {
|
||||
metadata: {
|
||||
adminUserId?: string
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
request: Stripe.Event.Request
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user