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
listencommand, and set it as
STRIPE_WEBHOOKS_SECRETenvironment variable on your Convex dashboard
STRIPE_KEYenvironment variable on your Convex dashboard
You can then use the test credit card details to go through the payment flow, see https://stripe.com/docs/checkout/quickstart#testing