Skip to content

Commit b3f1a96

Browse files
authored
fix(console): unblock Go subscriptions in dev (anomalyco#48309)
1 parent 859106e commit b3f1a96

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

infra/console.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,9 @@ const zenLitePrice = new stripe.Price("ZenLitePrice", {
150150
})
151151
const ZEN_LITE_PRICE = new sst.Linkable("ZEN_LITE_PRICE", {
152152
properties: {
153-
product: zenLiteProduct.id,
154-
price: zenLitePrice.id,
153+
// Use existing Go resources in dev's checkout Stripe account.
154+
product: $app.stage === "dev" ? "prod_U1tUscpmwtV2bG" : zenLiteProduct.id,
155+
price: $app.stage === "dev" ? "price_1T3phhE7fOCwHSD4zS6w2NPy" : zenLitePrice.id,
155156
priceInr: 92900,
156157
firstMonth50Coupon: zenLiteCouponFirstMonth50.id,
157158
firstMonth100Coupon: zenLiteCouponFirstMonth100.id,

0 commit comments

Comments
 (0)