Skip to content

WordPress forms + Stripe payment integration troubleshooting

Fix Stripe payments that fail or go missing on a WordPress form. You will match each symptom to its cause, then confirm the fix in the Stripe Dashboard.

This article helps you fix a WordPress payment form whose Stripe payments fail, vanish or show the wrong amount. The trouble usually shows up in one of four ways. The form says the payment worked but Stripe has no record of it, test cards pass while real cards fail, a card that asks for a bank security check (3D Secure) lands on a blank page, or the Stripe total differs from the form total. Each symptom has one usual cause: a webhook (the message Stripe sends back to your site) that fails its signature check, test and live keys mixed up, a broken return address after the bank check, or a currency or tax setting that disagrees. Stripe’s Dashboard logs each request and webhook delivery, so you can confirm the cause before you change anything.

What’s happening

The form plugin (WPForms Stripe addon, Gravity Forms Stripe, Fluent Forms Pro, Ninja Forms Stripe) creates a PaymentIntent via the Stripe API, the visitor confirms in the browser using Stripe Elements, and Stripe POSTs a webhook back to WordPress to confirm the charge. If the webhook URL is wrong, the WordPress entry never marks as paid even though the customer was charged. If keys are mixed (live publishable, test secret), the intent fails to create. 3D Secure adds a redirect step that breaks if the return URL is hard-coded to a stale domain.

How to verify

In the Stripe Dashboard, open Developers > Webhooks and look at recent deliveries. In WordPress, enable the plugin’s payment log:

wp eval 'echo get_option("wpforms_stripe_keys")["test_mode"] ? "TEST" : "LIVE";'
tail -f wp-content/debug.log
curl -I https://yoursite.com/?wpforms-stripe-webhook=1
wp db query "SELECT id, form_id, status, type, gateway FROM wp_wpforms_payments ORDER BY id DESC LIMIT 10;"

In the Stripe Dashboard webhook view, click a failed delivery and read the response body — 404 means the WordPress endpoint URL is wrong, 400 with “signature verification failed” means the webhook secret in WordPress does not match what Stripe is sending.

The fix

  1. Confirm the webhook URL in Stripe Dashboard > Developers > Webhooks matches the URL the plugin expects. WPForms uses https://<site>/?wpforms-stripe-webhook=1. Gravity Forms uses https://<site>/?gf_stripe_webhook=1. Copy the signing secret from Stripe and paste it into the plugin’s settings exactly.
  2. Resolve key mismatch: in Stripe, regenerate live keys, paste publishable and secret into the plugin’s Live tab. Confirm Test Mode toggle is OFF for production traffic. Each plugin has separate fields for live and test.
  3. 3D Secure return URL: in the plugin settings, set the return URL explicitly to the form’s confirmation page. Without it, Stripe falls back to the entry-creation URL which may not exist.
  4. Currency match: in Stripe Dashboard, confirm the account currency matches the form’s currency setting. Cross-currency charges incur 2% conversion which surprises clients on the first month’s invoice.
  5. Replay missed webhooks: in Stripe Dashboard, find the affected charges and use “Resend” on the webhook delivery. The WordPress plugin will then create the entry retroactively.
  6. Idempotency: confirm the plugin sets an Idempotency-Key header on PaymentIntent creation. Without it, a retried submission can charge twice.

For WordPress sites where Stripe failures translate directly to lost revenue, payment-gateway monitoring sits inside our enterprise WordPress support scope. To audit your Stripe path end-to-end before launching a campaign, book a scoping call.