Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
feat: Allow promo codes at checkout
Richie McIlroy5099bdbaaa5c
diff --git a/apps/web/app/api/settings/billing/subscribe/route.ts b/apps/web/app/api/settings/billing/subscribe/route.tsindex 58f3b5e8b..e784eb96c 100644--- a/apps/web/app/api/settings/billing/subscribe/route.ts+++ b/apps/web/app/api/settings/billing/subscribe/route.ts@@ -61,6 +61,7 @@ export async function POST(request: NextRequest) {mode: "subscription",success_url: `${process.env.NEXT_PUBLIC_URL}/dashboard/caps?upgrade=true`,cancel_url: `${process.env.NEXT_PUBLIC_URL}/pricing`,+ allow_promotion_codes: true,});if (checkoutSession.url) {