summaryrefslogtreecommitdiffhomepage
path: root/infra
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2026-03-11 23:24:38 -0400
committerDax Raad <[email protected]>2026-03-11 23:24:38 -0400
commitb1ef501207aa9d2c7f7ee70cbd1d9fde360be219 (patch)
tree67a74164219fd8adff77fdd549934424333e5bd2 /infra
parent9fb12a906eb8b1ef5f346623d11bd86689f926b1 (diff)
parentfafbc29316e7240b348db9e91e7a8e97cd803aef (diff)
downloadopencode-b1ef501207aa9d2c7f7ee70cbd1d9fde360be219.tar.gz
opencode-b1ef501207aa9d2c7f7ee70cbd1d9fde360be219.zip
Merge remote-tracking branch 'origin/dev' into dev
Diffstat (limited to 'infra')
-rw-r--r--infra/console.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/infra/console.ts b/infra/console.ts
index 128e06986..c7889c587 100644
--- a/infra/console.ts
+++ b/infra/console.ts
@@ -103,6 +103,12 @@ export const stripeWebhook = new stripe.WebhookEndpoint("StripeWebhookEndpoint",
const zenLiteProduct = new stripe.Product("ZenLite", {
name: "OpenCode Go",
})
+const zenLiteCouponFirstMonth50 = new stripe.Coupon("ZenLiteCouponFirstMonth50", {
+ name: "First month 50% off",
+ percentOff: 50,
+ appliesToProducts: [zenLiteProduct.id],
+ duration: "once",
+})
const zenLitePrice = new stripe.Price("ZenLitePrice", {
product: zenLiteProduct.id,
currency: "usd",
@@ -116,6 +122,7 @@ const ZEN_LITE_PRICE = new sst.Linkable("ZEN_LITE_PRICE", {
properties: {
product: zenLiteProduct.id,
price: zenLitePrice.id,
+ firstMonth50Coupon: zenLiteCouponFirstMonth50.id,
},
})