The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
wip
Kiran K22940e5d1452
diff --git a/apps/web/scripts/stripe.ts b/apps/web/scripts/stripe.tsindex f1a9c14741..ff6f53c9b6 100644--- a/apps/web/scripts/stripe.ts+++ b/apps/web/scripts/stripe.ts@@ -24,19 +24,30 @@ async function main() {// Create checkout session for this customerconst { url } = await stripe.checkout.sessions.create({- customer_email: "[email protected]",+ customer_email: "[email protected]",success_url: "https://dub.co?session_id={CHECKOUT_SESSION_ID}",cancel_url: "https://dub.co",line_items: [+ // Recurring{price: "price_1PE8VYSIvbPMbbGzw4JsqFye",- quantity: 1,+ quantity: 2,},++ // One-time+ // {+ // price: "price_1PGxy6SIvbPMbbGz8xFJOPkD",+ // quantity: 2,+ // },],+ // invoice_creation: {+ // enabled: true,+ // },mode: "subscription",metadata: {- dubCustomerId: "[email protected]",+ dubCustomerId: "kiran",},+ // customer_creation: "always",});console.log(url);