Skip to main content

Troubleshooting Connection Issues

If you're experiencing problems connecting your Stripe account to the plugin, this guide covers the most common issues and their solutions.

Connection Test Fails

Server Firewall Blocking Requests

Symptoms: Connection test fails even with correct API keys Cause: Your hosting provider has a firewall that blocks outbound requests to Stripe's servers

Contact your hosting provider to whitelist api.stripe.com.

Incorrect API Keys

Symptoms: "Invalid API key" error during connection test Cause: Wrong keys entered or keys from different mode (live vs test)

Verify you're using the correct keys for your current mode:

  • For Test mode: Use keys that start with pk_test_ and sk_test_
  • For Live mode: Use keys that start with pk_live_ and sk_live_

oAuth Connection Problems

PHP Error During Redirect

Symptoms: PHP error occurs when redirecting from Stripe back to your API Settings page Cause: Webserver settings filtering request parameters

If you encounter a PHP error during the redirect from Stripe to your API Settings page, this could be caused by your webserver settings. Some webservers are setup to filter request parameters.

Getting Additional Help

If none of these solutions resolve your connection issue:

  1. Enable WordPress debug logging by adding this to your wp-config.php:

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
  2. Attempt the connection again and check the debug log for specific error messages

  3. Contact support at [email protected] with the specific error message and we will assist you