🔑 Stripe API Key Configuration Guide
Fix expired or invalid Stripe API keys in Waply Connect
⚠️ Urgent: Stripe API Key Issue Detected
Your Stripe API key appears to be expired or invalid. This will prevent payment processing. Follow this guide to update your keys and restore functionality.
🎯 Quick Fix Steps
1
                        Access Stripe Dashboard
Log in to your Stripe account at dashboard.stripe.com
- Go to Developers → API keys
- Check if your keys are still active
- Look for any expiration warnings
2
                        Generate New API Keys
If your keys are expired or compromised:
- Click "Create secret key" for a new secret key
- Copy the Publishable key (starts with pk_)
- Copy the Secret key (starts with sk_)
⚠️ Important: Secret keys are only shown once! Copy them immediately and store them securely.
3
                        Update Waply Connect Settings
Navigate to your WordPress admin:
- Go to Waply Connect → Settings
- Scroll to the Stripe Integration section
- Select the correct mode (Test or Live)
- Enter your new API keys
- Click "Save Settings"
🔍 Understanding Stripe API Keys
Test Publishable Key
pk_test_51ABC123...
                            Safe for frontend use. Used in JavaScript and forms.
Test Secret Key
sk_test_51ABC123...
                            Server-side only. Never expose in frontend code!
Live Publishable Key
pk_live_51ABC123...
                            Production frontend key. Processes real payments.
Live Secret Key
sk_live_51ABC123...
                            Production server key. Extremely sensitive!
🛡️ Security Best Practices
✅ Do This:
- Store secret keys securely
- Use test mode for development
- Regularly rotate your API keys
- Monitor your Stripe dashboard for unusual activity
- Use environment variables for keys in production
❌ Never Do This:
- Expose secret keys in frontend code
- Commit API keys to version control
- Share keys via email or chat
- Use live keys for testing
- Leave expired keys active
🆘 Need Help?
If you're still experiencing issues after following this guide:
