How to install and configure Stripe integration
# Example environment variables STRIPE_PUBLISHABLE_KEY=pk_test_... STRIPE_SECRET_KEY=sk_test_...
{ "webhook_endpoint": { "url": "https://your-domain.com/stripe/webhook", "secret": "whsec_..." } }
{ "dependencies": { "@stripe/stripe-js": "^1.54.0", "@stripe/stripe-node": "^12.0.0" } }
{ "stripe": { "apiVersion": "2023-10-16", "publishableKey": "pk_test_...", "secretKey": "sk_test_...", "webhookSecret": "whsec_...", "environment": "test" } }
{ "stripe": { "environment": "test", "apiKey": "sk_test_..." } }
{ "stripe": { "environment": "production", "apiKey": "sk_live_..." } }
{ "test": { "type": "stripe.createPaymentIntent", "params": { "amount": 1000, "currency": "usd" } } }
{ "test": { "type": "stripe.webhook", "event": "payment_intent.succeeded" } }