Complete guide to setting up and configuring Stripe connections in Flexprice
Credential | Location in Stripe Dashboard | Required | Purpose |
---|---|---|---|
Secret Key | Developers → API Keys | ✅ | Server-side API calls |
Webhook Secret | Developers → Webhooks → [Your Endpoint] | ✅ | Webhook signature verification |
Secret key
(starts with sk_
)sk_test_
) for developmentwhsec_
)Event Type | Purpose |
---|---|
checkout.session * | Track payment link completions from Stripe Checkout |
customer * | Synchronize customer data changes between Stripe and Flexprice |
payment_intent * | Monitor payment processing status and handle payment lifecycle events |
POST /api/v1/connections
Headers:
Issue | Cause | Solution |
---|---|---|
Connection test fails | Invalid API keys | Verify keys in Stripe Dashboard |
Webhook not received | Incorrect webhook URL | Check URL format and endpoint |
Signature verification fails | Wrong webhook secret | Update webhook secret in connection |
Customer sync fails | Missing account permissions | Check Stripe account permissions |