We launched Convex Components to make adding features to your app easier! 🎉
Learn morenpm create convex -- -t get-convex/convex-stripe-demo
This example app demonstrates how to integrate Stripe, the payments platform, with Convex, the backend application platform. We keep track of payments in Convex and fulfill orders when they're confirmed by Stripe.
You can test the payment flow end to end using Stripe's test card numbersTo test the payments flow, follow these steps:
stripe listen --forward-to localhost:5173/stripe
listen
command, and set it as STRIPE_WEBHOOKS_SECRET
environment variable on your Convex dashboardSTRIPE_KEY
environment variable on your Convex dashboardYou can then use the test credit card details to go through the payment flow, see https://stripe.com/docs/checkout/quickstart#testing