diff options
| -rw-r--r-- | infra/console.ts | 3 | ||||
| -rw-r--r-- | sst.config.ts | 1 |
2 files changed, 2 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", diff --git a/sst.config.ts b/sst.config.ts index ba17f9f77..a18787391 100644 --- a/sst.config.ts +++ b/sst.config.ts @@ -1,4 +1,5 @@ /// <reference path="./.sst/platform/config.d.ts" /> + export default $config({ app(input) { return { |
