Watch: Take my first payment with Stripe Checkout | Vovy

Watch Vovy do it on a Mac: "Add a Buy button that charges $29 with Stripe". Vovy creates your product in Stripe, adds a secure Checkout button to your app, and runs a test payment so you see money flow before going live.

"Add a Buy button that charges $29 with Stripe"

Vovy creates your product in Stripe, adds a secure Checkout button to your app, and runs a test payment so you see money flow before going live.

What happens in the video

  1. Create the product and price: Vovy opens Product catalog in your Stripe sandbox, adds your product with a $29 one-time price, and copies the price ID, which starts with price_.
  2. Store the keys safely: It copies the sandbox secret key into your server's environment variables. The secret key must never go in browser code, only the publishable key can.
  3. Add a checkout endpoint: In Cursor Vovy writes a small server function that creates a Checkout Session, Stripe's hosted payment page, with success and cancel URLs.
  4. Wire up the Buy button: It connects your button to the endpoint and adds a thank you page for the success URL.
  5. Pay with a test card: Vovy pays in Chrome with Stripe's test card 4242 4242 4242 4242 and shows the payment in your Stripe Transactions list.
Read the step-by-step guide