WooCommerce Payment Failed or Gateway Not Showing at Checkout
Customers cannot pay by card or PayPal. Check gateway mode, keys, currency, webhooks and SSL.
A gateway can be missing or fail for several reasons. Check them in this order.
Step 1: Is the gateway enabled and in the right mode?
Open WooCommerce > Settings > Payments. The gateway must be enabled. Test and live modes use different keys. Using test keys on a live shop, or the reverse, causes failures.
Step 2: Re-enter the keys
Copy the keys again from your payment provider's dashboard and paste them carefully, with no extra spaces.
Step 3: Currency and country
Most gateways support only certain currencies and countries. If your store currency or the customer's country is not supported, the gateway will not appear.
Step 4: Webhooks
Some gateways rely on webhooks to mark orders as paid. If orders stay on "Pending payment", re-create the webhook following the plugin's instructions and check the provider's webhook log.
Step 5: SSL and caching
Checkout needs valid https and must not be cached. See our checkout guide and our SSL guide.
Step 6: Read the logs
Enable logging in the gateway's settings and read WooCommerce > Status > Logs. Your provider's dashboard also shows declined or blocked attempts with reasons.
Step 7: Conflicts
Another plugin or a security rule may block the gateway's scripts. See our conflict guide.
Related guides
- "The Uploaded File Exceeds the upload_max_filesize" in WordPress: Fix
- WordPress Update or Plugin Install Failed: 'Could Not Create Directory'
- A WordPress Update Broke My Site: How to Roll Back
- WordPress Stuck in "Briefly Unavailable for Scheduled Maintenance"