diff options
Diffstat (limited to 'infra/console.ts')
| -rw-r--r-- | infra/console.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/infra/console.ts b/infra/console.ts index bd0af2b15..b898995d9 100644 --- a/infra/console.ts +++ b/infra/console.ts @@ -1,4 +1,3 @@ -import { WebhookEndpoint } from "pulumi-stripe" import { domain } from "./stage" //////////////// @@ -68,7 +67,7 @@ export const auth = new sst.cloudflare.Worker("AuthApi", { // GATEWAY //////////////// -export const stripeWebhook = new WebhookEndpoint("StripeWebhookEndpoint", { +export const stripeWebhook = new stripe.WebhookEndpoint("StripeWebhookEndpoint", { url: $interpolate`https://${domain}/stripe/webhook`, enabledEvents: [ "checkout.session.async_payment_failed", |
