This article explains how to fix payment gateway connection errors on your WordPress website.
Check Your Payment Gateway Settings
- Log into your WordPress admin dashboard
- Go to your ecommerce plugin settings (usually under "WooCommerce" or "Settings" in the left menu)
- Click on "Payments" or "Payment Gateways"
- Find your payment gateway (Stripe, PayPal, etc.) and click "Manage" or "Settings"
- Check that all required fields are filled in:
- API keys or credentials
- Webhook URLs
- Currency settings
- Test/Live mode toggle
Verify Your API Credentials
- Go to your payment provider's website (Stripe, PayPal, etc.)
- Log into your merchant account
- Find the API or Developer section
- Copy the current API keys or credentials
- Go back to your WordPress payment settings
- Replace the old credentials with the new ones
- Save the changes
Make sure you're using live credentials for a live website, or test credentials for testing.
Test the Connection
- Enable test mode in your payment gateway settings
- Use test card numbers provided by your payment provider
- Try making a small test purchase on your website
- Check if the payment processes correctly
- Look for any error messages during checkout
Clear Cache and Check for Conflicts
Payment issues can be caused by caching or plugin conflicts:
- Clear any caching on your website
- Temporarily disable other plugins one by one
- Test payments after disabling each plugin
- If payments work after disabling a plugin, you've found the conflict
For more help with plugin conflicts, see our guide on plugin conflicts and resolution.
Check SSL Certificate Status
Payment gateways require secure connections:
- Visit your website and look for the padlock icon in your browser
- Check that your URL starts with "https://" not "http://"
- If you see SSL warnings, this may block payments
If you're having SSL issues, read our article on SSL certificate problems.
Review Error Logs
- Check your payment gateway's dashboard for error messages
- Look in WordPress admin under "Tools" > "Site Health" for errors
- Common error messages include:
- "Invalid API key"
- "Webhook verification failed"
- "Currency not supported"
- "Account not activated"
Contact Your Payment Provider
If the above steps don't work:
- Contact your payment gateway's support team
- Provide them with:
- Error messages you're seeing
- When the problem started
- Your merchant account details
- Test transaction attempts
If you're still stuck after trying these steps, contact Web60 support and we'll help you troubleshoot the connection.
FAQ
Q: Why do my payments keep failing even though my card details are correct?
A: This usually means your payment gateway credentials are incorrect, expired, or your merchant account has restrictions. Check your API keys and contact your payment provider.
Q: Can I use multiple payment gateways on my website?
A: Yes, most ecommerce plugins let you enable several payment methods. Customers can then choose their preferred option at checkout.
Q: Why am I getting "SSL required" errors during checkout?
A: Payment gateways require secure HTTPS connections. Make sure your SSL certificate is working properly and your site uses HTTPS URLs.
Q: What's the difference between test mode and live mode?
A: Test mode uses fake transactions for testing your setup. Live mode processes real payments. Always test thoroughly before switching to live mode.
Q: Why are webhook URLs important for payment gateways?
A: Webhooks tell your website when payments succeed or fail. Without proper webhook setup, orders might not update correctly after payment.
Q: How do I know if my payment gateway account is properly activated?
A: Log into your payment provider's dashboard. Look for account status, verification requirements, or any pending actions needed to activate payments.
Q: Can plugin conflicts cause payment failures?
A: Yes, conflicts between plugins can break payment processing. Try disabling other plugins temporarily to identify conflicts.
Last updated: 1 March 2026