@pro.glitch: How to connect Stripe to an app you built with AI, step by step Built an app with AI and want people to pay you? Here's the whole Stripe setup, slowly, on a real app (MenuTap, $9 a month). 1. Open a sandbox (account name → Switch to sandbox → Create sandbox) 2. Copy the keys: pk_test_ (browser) and sk_test_ (server only). Select the token itself, not "Copy ID" (that gives you mk_). Paste them into .env.local yourself. Only the publishable key gets NEXT_PUBLIC_. 3. Tell Claude to create the product ($9 a month), then check Product catalog 4. Hosted checkout with the logged-in user's ID attached 5. A webhook unlocks the account; the Stripe CLI forwards it to your computer; unsigned messages get refused 6. Test cards: 4242 4242 4242 4242 (any future date, any 3 digits) must unlock, 4000 0000 0000 0002 must stay locked 7. Stripe's customer portal: update card, invoices, cancel 8. Vercel → Settings → Environment Variables (3 keys, secret ones marked Sensitive) → Redeploy 9. A real webhook endpoint for your live site's address, with its own signing secret (that one goes in Vercel) 10. Activate your account, leave the sandbox, rebuild the product + keys + webhook + secret in live mode, redeploy Nothing from the sandbox comes with you to live mode. That's why "it worked in test" checkouts take money and unlock nothing. Step-by-step courses from beginner to advanced are inside my community. Link in my profile. #vibecoding#saas #aiautomation #aiagents #aiemployee #aiwebsite
Professor Glitch
Region: US
Sunday 15 November 2026 21:03:54 GMT
Music
Download
Comments
jojo :
i want your mentoring
2026-11-15 21:28:39
0
To see more videos from user @pro.glitch, please go to the Tikwm
homepage.