All posts

WooCommerce payment gateway failing? How to diagnose and fix it

“Payments are not working” can mean four different things on WooCommerce: the method does not show, its box never loads, every card is declined, or customers pay and the order stays pending. Each has a different cause and a different place to look.

Free checkout scan

Enter your store address. A real browser adds a product to the cart and walks the checkout up to the payment step, like a customer, and shows you every step with a screenshot.

  • Free, no account
  • Stops before payment, no order
  • Nothing to install
· Updated · 3 min read
Paying online at a laptop

Which failure do you have?

SymptomWhere it failsLook at
Method missing at checkoutGateway settings or availability rulesWooCommerce → Settings → Payments
Payment box empty or spinningGateway JavaScriptBrowser console, Network
Every card declinedKeys, account or providerGateway log, provider dashboard
Paid, order stays Pending paymentWebhook or IPNProvider webhook delivery log

The method does not show up

The method must be enabled, and many gateways hide themselves when they are misconfigured: missing or test API keys in live mode, a currency the gateway does not support, a country or cart total outside its rules, or no HTTPS. Turn on the gateway’s debug log and reload checkout; the reason is usually written there.

On the block checkout, confirm the gateway supports blocks. Older gateways only work with the classic [woocommerce_checkout] shortcode; WooCommerce marks incompatible extensions when you edit the Checkout page.

The payment box is empty or spinning

Card fields are loaded from the provider’s script. If it is blocked or delayed, the box stays empty:

  1. Console. Errors from the gateway script, or “Refused to load” from a Content Security Policy.
  2. Network. A blocked request to the provider domain, often by an ad blocker or a JS optimisation plugin.
  3. Optimisation. Exclude the gateway scripts and checkout pages from deferring and delaying JavaScript.
  4. Totals. If update_checkout fails, the payment box is never refreshed.

Card errors and declines for everyone

When every card fails, the cause is on your side: live keys from the wrong account, a restricted or unverified account, a webhook secret that does not match, or fraud rules set too strictly. The provider dashboard shows the attempts with a reason; the gateway log shows what WooCommerce sent.

bash
# Gateway logs live in WooCommerce → Status → Logs, or on disk
ls -t wp-content/uploads/wc-logs/ | grep -iE "stripe|paypal|gateway" | head
Card testing looks like declines

A wave of small declined payments from many cards is often a card-testing attack, not a broken gateway. See card testing attacks.

Paid, but the order stays pending

The provider confirms payment with a server-to-server webhook. Open the webhook log in the provider dashboard: failed deliveries with 403, 301 or 5xx mean a firewall or security plugin is blocking it, the URL is old, or the secret changed. The full routine is in orders stuck in pending payment.

Catch the next one in minutes

Gateway failures rarely announce themselves: sales just stop. A scheduled WooCommerce checkout monitor that reaches the payment step and confirms a method is ready turns that into an alert. For Greek banks and card redirects, read card redirect failures in Greek stores.

Check your own store now with the free WooCommerce checkout checker: it walks the checkout in a real browser, stops before payment, and shows the step where it breaks.

Step-by-step fixes for an empty payment step: no payment methods on Magento 2 and no payment methods on WooCommerce.

Find out your checkout broke before your customers do.

Real checkout checks for Magento and WooCommerce · free plan · no card requiredWooCommerce checkout monitoring →
FAQ

Common questions

Still have a question?More answers, and a way to reach us.Support →
01Why is my WooCommerce payment method not showing?

It is disabled, misconfigured (missing or test keys in live mode), not enabled for that country, currency or cart total, or not compatible with the block checkout.

02Why is the card payment box empty?

The gateway’s script is blocked or failing: check the console for errors or CSP violations, and exclude gateway scripts from JS optimisation.

03How do I test a WooCommerce payment gateway?

Go through checkout as a guest to the payment step and confirm a method is ready, or run the free WooCommerce checkout checker.