Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Merge branch 'main' into event-customer-updated

Steven Tey9ab9227f1682
diff --cc apps/web/app/api/stripe/integration/webhook/route.ts
index 5b47d9a6d7,1b9476535b..6c176cf7c8
--- a/apps/web/app/api/stripe/integration/webhook/route.ts
+++ b/apps/web/app/api/stripe/integration/webhook/route.ts
@@@ -2,16 -2,16 +2,18 @@@ import { stripe } from "@/lib/stripe"
import { withAxiom } from "next-axiom";
import Stripe from "stripe";
import { accountApplicationDeauthorized } from "./account-application-deauthorized";
+ import { chargeRefunded } from "./charge-refunded";
import { checkoutSessionCompleted } from "./checkout-session-completed";
import { customerCreated } from "./customer-created";
+import { customerUpdated } from "./customer-updated";
import { invoicePaid } from "./invoice-paid";
const relevantEvents = new Set([
"customer.created",
+ "customer.updated",
"checkout.session.completed",
"invoice.paid",
+ "charge.refunded",
"account.application.deauthorized",
]);