Why is a paid WooCommerce order still Pending Payment?

An order stays Pending Payment when WooCommerce does not receive or process the gateway’s successful payment notification. Check the payment provider dashboard first, then compare the transaction ID, amount, currency, and order reference with WooCommerce order notes.
Review gateway logs and webhook delivery. Confirm that the webhook URL is public, uses valid HTTPS, returns a success response, and is not blocked by maintenance mode, a firewall, or basic authentication. Test and live credentials plus webhook secrets must match their environments.
Do not mark many orders paid until transactions are reconciled. Retry the provider notification where supported or update one verified order with a note. Fix the callback path, then run a new test payment and refund to confirm status changes are automatic.