Below is a list of common error responses that occur when you are processing payments with Stripe.
The full guide to all Stripe error responses can be found here.
Common Responses & Solutions
Response: Sending credit card numbers directly to the Stripe API is generally unsafe.
Solution: Please ensure you have completed step 2 found here.
Response: This API call cannot be made with a publishable API key. Please use a secret API key. You can find a list of your API keys at https://dashboard.stripe.com/account/apikeys.
Solution: Please ensure you have completed step 1 found here.
Response: Invalid API Key provided: sk_live_*****
Solution: Please ensure you have completed all steps correctly found here.
Response: Your card has insufficient funds.
Solution: The buyers card has insufficient funds. Please consider collecting an alternative form of payment.
Response: Your card does not support this type of purchase.
Solution: The buyer needs to contact their card issuer to make sure their card can be used to make this type of purchase.
Response: Your card was declined.
Solution: The customer needs to contact their card issuer for more information.
Response: Your card's security code is incorrect.
Solution: The buyer needs to try again using the correct CVC.