What you get
Checkout for one-time products and subscriptions (with free trials), discount codes, a billing portal for customers, refunds handled automatically, and every payment recorded in Admin → Orders with revenue, sources, and the purchase funnel. Paid meetings and affiliate payouts use it too.
Steps
- In Stripe, stay in test mode. Copy the secret key into
STRIPE_SECRET_KEY. - Add a webhook to
https://YOUR_URL/api/webhooks/stripewith these events:checkout.session.completed,checkout.session.expired,invoice.paid,charge.refunded,customer.subscription.created,customer.subscription.updated,customer.subscription.deleted,invoice.payment_failed. Set the signing secret asSTRIPE_WEBHOOK_SECRET. - Turn on the Customer portal (update payment methods, view invoices).
- In Admin → Products, create your products and prices. You never create them in Stripe yourself.
- In Admin → Coupons, create discount codes: percent or amount off, limited by date, number of uses, or product.
Check it works
Buy something with the test card 4242 4242 4242 4242, then find the order in Admin → Orders. Cancel it from the account page to see the other side.
What the video covers
- Creating a product, a subscription with a trial, and a discount code
- A test purchase from start to finish
- Where orders, revenue, and refunds show up
- Switching to live mode when you're ready