Gain Commerce NMI Payment Gateway for WooCommerce

plugin banner

Integrates the NMI payment gateway with your WooCommerce store.

Author:Gain Commerce (profile at wordpress.org)
WordPress version required:6.8
WordPress version tested:7.1.5
Plugin version:1.17.0
Added to WordPress repository:12-09-2025
Last updated:18-11-2026
Rating, %:100
Rated by:1
Plugin URI:
Total downloads:3 242
Active installs:90+
plugin download
Click to start download

Accept credit cards, Apple Pay, and Google Pay seamlessly using the Gain Commerce NMI Payment Gateway for WooCommerce.

Engineered natively for WooCommerce Checkout Blocks and High-Performance Order Storage (HPOS), this plugin tokenizes cardholder data via NMI Collect.js—offloading PCI compliance away from your web server while providing a frictionless checkout experience.

Why Choose Gain Commerce NMI Payment Gateway for WooCommerce?

  • One-Click Mobile Checkout: Native support for Apple Pay and Google Pay to boost mobile conversions.
  • Zero PCI Friction: Uses NMI Collect.js tokenization—card data never touches your web server.
  • Modern Checkout Ready: Built natively for WooCommerce Checkout Blocks and traditional legacy checkouts.
  • Bot & Card-Testing Defense: Built-in protection via Google reCAPTCHA v3 or Cloudflare Turnstile to block automated attacks.
  • Built-in Surcharging: Offset transaction costs by adding flat or percentage-based credit card surcharges directly at checkout.

Free Features

  • Express Digital Wallets: Native support for Apple Pay and Google Pay.
  • PCI-DSS Compliant Tokenization: Secure Collect.js integration ensures zero sensitive card storage on your server.
  • Bot Defense: Block card-spinning scripts using Google reCAPTCHA v3 or Cloudflare Turnstile.
  • Credit Card Surcharges: Automatically pass processing fees to buyers via flexible flat or percentage rules.
  • Custom Decline Messages: Tailor customer-facing error messages for specific decline scenarios to reduce cart abandonment and support tickets.
  • Checkout Address Autocomplete: Speed up checkout and reduce address typos with real-time address suggestions powered by Google Places.
  • Full Order Dashboard Control: Process Authorize, Capture and Partial/Full Refunds directly from the WooCommerce order screen.
  • Card Brand Restrictions: Restrict or allow specific card brands (Visa, Mastercard, Amex, Discover) based on your merchant agreement.
  • Fraud & Ledger Sync: Log AVS/CVV response codes to order notes and auto-sync WooCommerce shipping data to NMI.
  • Dynamic Descriptors: Set custom statement descriptors passed directly to customer credit card statements.
  • Dedicated Sandbox & Test Modes: Safely test transactions without affecting live data using an instant environment switcher with separate Sandbox credentials.

Supercharge Your Store with Premium Features

Upgrade to the Gain Commerce NMI Premium Add-on to unlock recurring revenue and enterprise vaulting tools:

  • WooCommerce Subscriptions: Automated recurring payments and renewal order processing.
  • NMI Customer Vault: Stored payment methods allowing returning customers one-click checkouts.
  • ACH Electronic Checks: Direct bank transfer processing alongside credit cards.
  • 3D Secure 2.0 (3DS2): SCA/PSD2 compliant step-up authentication for liability shift and fraud reduction.

System Requirements

  • Active NMI payment gateway account (via Allied Payments or your merchant account provider)
  • WooCommerce version 8.0 or higher
  • Valid SSL Certificate (HTTPS)
  • PHP version 7.4 or higher
  • Fully compatible with WooCommerce HPOS (High-Performance Order Storage) and WooCommerce Checkout Blocks

External Services

This plugin relies on external third-party services to process payments and prevent automated fraud:

  • NMI Payment Gateway (Network Merchants, LLC): Connects to NMI to securely tokenize card details in the browser via Collect.js before processing transactions. Order and shipping details are sent to NMI for transaction ledger processing.

  • Google reCAPTCHA v3 (Optional): Evaluates checkout traffic to block automated card-testing attacks when enabled by the merchant.

  • Cloudflare Turnstile (Optional): Provides CAPTCHA protection against automated card spinning when configured by the merchant.

  • Google Places API / Maps JavaScript API (Optional): When the merchant enables Address Autocomplete and saves their own Google API key, the shopper’s browser loads Google’s script after the shopper clicks into a checkout address field, and sends the text typed in that field to Google to get address suggestions. Nothing is loaded or sent unless the feature is enabled with a key. Usage is billed to the merchant’s own Google Cloud account.

Source Code & Build Instructions

The source code for minified assets is available in the Gain Commerce GitHub Repository.

Build instructions:
1. Clone the repository.
2. Run npm install to install dependencies.
3. Run npm run build to generate production assets.


Screenshots
FAQ
ChangeLog