Stripe Credential - Payment Gateway
What is a Stripe Credential
Section titled “What is a Stripe Credential”A Stripe credential allows your workflows to process payments, manage subscriptions, create invoices, and handle financial operations through the Stripe payment gateway.
Configuration Fields
Section titled “Configuration Fields”| Field | Description | Example |
|---|---|---|
| Secret Key | Secret key for server operations | sk_live_... or sk_test_... |
| Publishable Key | Public key for client side | pk_live_... or pk_test_... |
How to Get the Credentials
Section titled “How to Get the Credentials”Step 1: Create Stripe Account
Section titled “Step 1: Create Stripe Account”- Go to dashboard.stripe.com
- Create an account if you don’t have one
- Complete business verification for production payments
Step 2: Get Test Keys
Section titled “Step 2: Get Test Keys”- Make sure you’re in Test mode (toggle at the top of the dashboard)
- Go to Developers > API Keys
- Copy the Publishable key (starts with
pk_test_) - Click Reveal test key to see the Secret key (starts with
sk_test_) - Copy both keys
Step 3: Get Production Keys
Section titled “Step 3: Get Production Keys”- Complete account activation in Settings > Account details
- Switch to Live mode with the top toggle
- Go to Developers > API Keys
- Production keys start with
pk_live_andsk_live_
Operation Modes
Section titled “Operation Modes”- Test Mode: Use test keys for development. You can use test cards like
4242 4242 4242 4242 - Live Mode: Use production keys for real transactions. Requires verified account
Troubleshooting
Section titled “Troubleshooting”Authentication Error
Section titled “Authentication Error”- Verify you’re using the Secret Key (not the Publishable Key) in Floogos
- Confirm you’re not mixing test and production keys
Payments Declined in Production
Section titled “Payments Declined in Production”- Verify your account is fully activated
- Confirm the customer’s payment method is valid
- Check logs in Developers > Logs on the Stripe dashboard
Webhooks Not Received
Section titled “Webhooks Not Received”- Check the webhook URL in Developers > Webhooks
- Confirm the correct events are subscribed
- Review delivery attempts in the dashboard
Security
Section titled “Security”- Never expose the Secret Key in client-side code or public repositories
- The Publishable Key is safe for frontend use
- Use test keys during development
- Configure Restricted Keys to limit permissions
- Enable two-factor authentication on your Stripe account
- Verify webhook signatures to prevent forged requests
- Monitor transactions regularly from the dashboard