Founder deal: 75% off the lifetime licence. Unlimited sites, one payment, every update.See the founder plan
Home / Blog / Declines and diagnostics

NMI Card Fields Blank, Frozen or Not Accepting Input

Card fields blank, frozen or refusing input at checkout? Sort the symptom, then use browser tools to find the blocked frame, covering element or validation error.

When NMI card fields are blank, frozen or ignore typing at checkout, first work out which of three states you are in. Blank means the hosted fields never rendered. Frozen means they rendered but something sits on top of them or the page script has stopped. Not accepting input means they work, but a field is rejecting what is typed. Each has a different fix, and the browser tools show you which in about a minute.

Sort the symptom first

  • Nothing where the card form should be: the script or the iframes did not load. Start with Collect.js not loading, then come back here.
  • Empty boxes, but you can see borders: the iframes exist but are blocked, hidden or zero height.
  • Boxes visible, cursor will not go in: something is covering them, or the checkout re-rendered and lost the fields.
  • You can type, but a number is refused or the pay button does nothing: validation or a timeout.

The card fields are hosted by NMI in iframes, so your theme cannot read what is typed. That is the point of hosted fields, and it also means a normal CSS or JavaScript fix on your side only works on the outer container.

Blank iframes: frame and style blocks

Open the Console. A message such as “Refused to frame” points to a Content Security Policy. NMI documents that frame-src must allow https://secure.nmi.com (and https://pay.google.com if you offer Google Pay), and style-src must allow https://secure.nmi.com. If you see no CSP message, right-click the empty area, choose Inspect and look for an iframe element. If it exists but has height 0 or display:none, a theme or checkout-customizer rule is hiding it.

Frozen fields: something is on top

Use the element picker in developer tools and click on the field. If the highlighted element is not the NMI iframe, something transparent is covering it. Common causes are a sticky header or chat widget, a cookie banner overlay, a loading overlay left behind by a checkout script, or a theme rule using pointer-events: none on the payment box. Disable the suspect one and retest.

On the block checkout, the payment area can re-render when the cart or shipping updates. If fields freeze right after changing shipping or applying a coupon, test with the optimization plugins off and with other checkout extensions disabled. Customization plugins that rewrite the checkout DOM are the usual cause. The differences between the two checkout types are summarized in block vs classic checkout for payment plugins.

Typing is accepted but payment will not go through

Hosted fields validate as you type. NMI’s Collect.js documents a timeout setting: if the required fields are not confirmed within the configured time, it calls a timeout callback, and the default message is “Please submit the form again.” NMI states this happens when a field is invalid or incomplete, or the connection is poor. The timeout itself is disabled by default, so a stuck button is more often a JavaScript error. Check the Console after pressing pay.

Also check the basics a customer might miss:

  • Expiry in the past, or typed in the wrong format.
  • Card brand not enabled on your merchant account. That is decided by your processor, not the plugin.
  • A missing or incomplete security code (CVV).

Autofill and mobile keyboards

Browser autofill cannot always fill fields inside a cross-origin iframe. If customers report that saved card suggestions do not appear, that is a browser limit with hosted fields, not a fault. Tell them to type the card number, or use a wallet such as Apple Pay or Google Pay, which are Pro features in NMI for WooCommerce.

A fast test routine

  1. Open checkout in a private window on desktop. Fields work? The problem is a browser extension or a specific device.
  2. Fields fail? Open the Console and note the first red error and any “Refused” lines.
  3. Turn off minify, combine and delay for the checkout page, and purge caches. See caching and minify plugin settings.
  4. Switch to a default theme and deactivate other plugins on staging.
  5. Place a sandbox order with a documented test card. Our test card guide lists them.

If the form works but the card then fails, you are in a different problem: see a diagnosis order for declined cards. For the gateway method not appearing at all, read NMI payment method not showing. More fixes are in the troubleshooting center and the troubleshooting docs.

Running NMI on WooCommerce? Free covers the basics and Pro adds the paid features. Compare Free and Pro.

Last reviewed November 2026.

NMI for WooCommerce

More checkout fixes in the docs

Work through the troubleshooting documentation for the NMI plugin.

Open troubleshooting docsSee pricing

Free on WordPress.org. Pro adds wallets and ACH.