How to configure payment gateways on WooCommerce
Configure WooCommerce payment gateways by navigating to WooCommerce Settings > Payments, then enable and configure your desired payment methods with API keys and settings. Most gateways require merchant accounts and API credentials to process transactions securely.
Prerequisites
- WordPress website with WooCommerce plugin installed
- Administrative access to WordPress dashboard
- Merchant accounts with desired payment providers
- SSL certificate installed on your website
Step-by-Step Instructions
Access WooCommerce Payment Settings
Enable Your Desired Payment Gateway
Configure Basic Gateway Settings
Enter API Credentials and Keys
Configure Advanced Settings
Test the Payment Gateway
4242424242424242 for Stripe). Verify that transactions process correctly and order statuses update appropriately in your WooCommerce orders dashboard.Switch to Live Mode and Save Settings
Common Issues & Troubleshooting
Payment gateway not appearing at checkout
Verify the gateway is Enabled in WooCommerce Settings > Payments and check that your store's currency is supported by the payment processor. Also ensure no plugin conflicts are disabling the gateway.
API key errors or connection failures
Double-check that API credentials are entered correctly without extra spaces. Verify you're using the correct keys for your environment (test vs live). Contact your payment processor to confirm your merchant account is active and properly configured.
Transactions failing or being declined
Check that your SSL certificate is properly installed and working. Verify your payment processor account is in good standing and has no holds. Review transaction logs in both WooCommerce and your payment processor dashboard for specific error messages.
Order status not updating after payment
Configure Webhook URLs in your payment processor account pointing to your WooCommerce site. Ensure your site can receive POST requests from the payment processor and check that firewall settings aren't blocking webhook notifications.