Common Issues
general
Payments or Checkout Not Working in My AI App
Users try to make a payment in your app but it fails, shows an error, or appears to succeed without actually charging. This is critical because broken payments mean lost revenue and frustrated customers.
Error Messages You Might See
Your card was declined
No such price
Invalid API Key provided
Webhook signature verification failed
Payment intent requires action
Common Causes
- Stripe API keys are wrong or still using test keys in production
- Webhook endpoint not configured or not receiving events
- Missing error handling — payment fails silently
- Price or product IDs don't match between Stripe dashboard and your code
- 3D Secure / SCA authentication not handled properly
How to Fix It
- Check your Stripe dashboard for failed payments — it shows the exact error
- Verify you're using live (not test) API keys in production
- Check the Stripe webhook logs to see if events are being delivered
- Test with Stripe's test card numbers first to isolate the issue
- Make sure your success/cancel redirect URLs are correct
Real developers can help you.
Describe what's wrong in plain English. No technical knowledge needed.
Get HelpFrequently Asked Questions
Payments work in test mode but not in production. What's wrong?
You're probably still using test API keys. Switch to live keys in your environment variables and make sure your Stripe account is fully activated.
The payment goes through but my app doesn't know about it. Why?
Your webhook endpoint is probably not configured or not receiving events from Stripe. Check the Stripe dashboard under Developers > Webhooks.