Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
feat(stripe): allow promotion codes on checkout (#3011)
Thibault Le Ouayf8057fbe1f17
diff --git a/packages/api/src/router/stripe/index.ts b/packages/api/src/router/stripe/index.tsindex 4a8951f26..ffd1a2443 100644--- a/packages/api/src/router/stripe/index.ts+++ b/packages/api/src/router/stripe/index.ts@@ -377,6 +377,7 @@ export const stripeRouter = createTRPCRouter({enabled: true,},mode: "subscription",+ allow_promotion_codes: true,success_url:opts.input.successUrl ||`${billingUrl}?${opts.input.trial ? "trial" : "success"}=true`,