🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms NMI Gateway Integration Add-on

Updated 6 min read Gravity Forms Payments & Pricing
On this page
  1. Architecture Overview: Enterprise Merchant Processing & Multi-MID Routing
  2. Step 1: Generating Your NMI Security Key
  3. Step 2: Configuring Global NMI Gateway Settings in WordPress
  4. Step 3: Creating and Configuring an NMI Payment Feed
  5. Advanced Merchant Workflows: Fraud Prevention, AVS & Multi-MID Load Balancing
  6. Enterprise Merchant Architecture: Level 2 / Level 3 Processing, Customer Vault & Surcharging
  7. Risk Management: 3D Secure 2.0, Velocity Controls & Chargeback Prevention
  8. Troubleshooting & Common Issues
  9. Frequently Asked Questions (FAQ)
  10. Are credit card details stored on my WordPress server?
  11. Can I test transactions without charging real credit cards?
  12. Does the add-on support multi-currency processing?
  13. Related Resources & Official Links
  14. Scale Your Merchant Payments with NMI Gateway

Official implementation and technical configuration guide for the Gravity Forms NMI Gateway Integration Add-on. Connect your WordPress forms directly to Network Merchants Inc. (NMI) payment processing. Securely process high-volume credit card payments, recurring billing subscriptions, and complex multi-MID merchant transactions with enterprise security and PCI-DSS compliance.

In New Zealand or Australia? Take cards through the Gravity Forms Windcave add-on with a hosted payment page.

System Requirements & Prerequisites

  • WordPress Core: Version 5.8 or higher
  • Gravity Forms: Version 2.5 or higher (Basic, Pro, or Elite License)
  • PHP Runtime: Version 7.4, 8.0, 8.1, 8.2, or 8.3
  • NMI Gateway Account: Active NMI merchant account with API Security Key and transaction processing rights
  • Plugin License: Gravity Forms NMI Gateway Integration Add-on installed and activated

Architecture Overview: Enterprise Merchant Processing & Multi-MID Routing

Network Merchants Inc. (NMI) is the premier payment gateway of choice for B2B distributors, high-volume merchants, subscription providers, and regulated industries requiring multi-MID (Merchant Identification) load balancing. The Gravity Forms NMI Gateway Add-on brings direct server-to-server transaction capability to your custom order forms.

The add-on is engineered on top of the robust Gravity Forms Payment Addon Framework (GFPaymentAddOn):

  • Direct API Authorization: Transmits payment requests securely via HTTPS POST to NMI’s transaction engine (https://secure.networkmerchants.com/api/transact.php).
  • Instant Authorization Response: Captures approval codes, AVS (Address Verification Service) matches, and CVV verification status in real time during form submission.
  • Seamless User Experience: Customers complete transactions directly on your domain without disruptive external redirects to third-party hosted checkout windows.
  • Multi-Environment Testing: Toggle seamlessly between NMI sandbox test mode and live production processing with dedicated credentials.

Step 1: Generating Your NMI Security Key

To authenticate API transactions, generate an API Security Key inside your NMI merchant control panel:

  1. Log into your NMI Merchant Control Panel.
  2. Navigate to Settings > Security Keys.
  3. Click Add a New Key.
  4. Assign the key an administrative user and grant it permissions for API and Transaction Processing.
  5. Click Create and copy the generated Security Key.

Step 2: Configuring Global NMI Gateway Settings in WordPress

Configure your merchant credentials in WordPress:

  1. Navigate to Forms > Settings > NMI Gateway.
  2. Enter your Security Key into the API credentials field.
  3. If testing, check the Enable Test Mode option to route transactions through NMI’s sandbox simulator.
  4. Click Save Settings.

Step 3: Creating and Configuring an NMI Payment Feed

Attach payment processing to your product or service order form:

  1. Navigate to Forms and open your checkout form. Ensure your form contains a Credit Card field and a Total field.
  2. Go to Settings > NMI Gateway.
  3. Click Add New to establish a payment feed.
  4. Select the Transaction Type (e.g., Products and Services).
  5. Map customer billing details (First Name, Last Name, Billing Address, Email) to provide complete data for AVS fraud screening.
  6. Configure Conditional Logic if you offer multiple payment options (e.g., only execute NMI when “Pay via Credit Card” is selected).
  7. Click Save Settings.

Advanced Merchant Workflows: Fraud Prevention, AVS & Multi-MID Load Balancing

Maximize transaction approval rates and mitigate chargebacks through advanced NMI gateway configurations:

  • Strict Address Verification (AVS): Map complete street address and ZIP/postal code fields. NMI evaluates AVS rules to automatically decline mismatched transactions before settlement.
  • Intelligent Multi-MID Routing: For high-volume merchants operating multiple merchant accounts, use NMI’s load balancing rules to distribute transaction volume based on product category or monthly volume limits.
  • Tokenization & Customer Vault: Securely store payment credentials in NMI’s Customer Vault, enabling recurring subscription billing and repeat orders without storing raw credit card numbers on your server.
  • Automated Refund & Void Tracking: Gravity Forms entry notes record comprehensive transaction IDs and gateway responses, simplifying administrative reconciliation and refund management.

Enterprise Merchant Architecture: Level 2 / Level 3 Processing, Customer Vault & Surcharging

B2B suppliers, corporate service providers, and high-volume e-commerce merchants require enterprise payment gateways capable of handling complex interchange fee optimization, recurring billing, and multi-merchant routing. The Gravity Forms NMI Gateway Add-on equips your WordPress forms with advanced commercial processing capabilities:

  • Level 2 & Level 3 Interchange Rate Optimization: For corporate and government purchasing cards, processing transactions with Level 2 and Level 3 line-item data (including itemized tax amounts, customer PO numbers, and product commodity codes) qualifies merchants for significantly lower interchange rates, saving enterprises thousands of dollars annually in card brand fees.
  • NMI Customer Vault Tokenization: Protect customer financial information by leveraging NMI’s off-site Customer Vault. Securely tokenize credit card credentials during initial service contract intake, enabling your team to process subsequent milestone payments, recurring retainer fees, or variable usage billings without ever storing sensitive card data locally.
  • Intelligent Multi-MID Routing & Load Balancing: High-risk merchants and high-volume corporations operating multiple merchant account identification numbers (MIDs) can leverage NMI’s automated transaction routing. Distribute incoming transaction volume based on ticket size, monthly processing thresholds, or currency to protect merchant accounts against volume caps and unexpected processing interruptions.
  • Automated Surcharging & Cash Discount Compliance: In jurisdictions where credit card surcharge adjustments are legally permitted, Gravity Forms calculation fields can evaluate the selected payment method and automatically calculate transparent card processing fees in strict compliance with Visa and Mastercard card brand disclosure mandates.

Risk Management: 3D Secure 2.0, Velocity Controls & Chargeback Prevention

Mitigating payment fraud and managing merchant account reserves requires multi-layered defensive screening at the moment of form checkout:

  • Card Testing Attack Mitigation: Malicious actors frequently target donation or checkout forms with automated bot scripts to test stolen credit card numbers. Combining Gravity Forms reCAPTCHA v3 or Cloudflare Turnstile with NMI’s velocity controls blocks rapid-fire card submission spikes.
  • 3D Secure 2.0 Strong Customer Authentication (SCA): For European and international transactions subject to PSD2 regulations, NMI supports 3DS2 frictionless biometric and one-time passcode verification, shifting chargeback liability away from the merchant.
  • Custom Fraud Scoring & Decline Handling: If a transaction triggers high-risk fraud flags in NMI, entry notes clearly indicate the specific risk rule violation, allowing fulfillment teams to hold suspicious orders before shipping merchandise.

Troubleshooting & Common Issues

Transaction Declined by NMI:
Inspect the Gravity Forms Entry Notes to review the exact decline text returned by NMI (e.g., DECLINE – Insufficient Funds or DECLINE – AVS Mismatch).
SSL / HTTPS Required Warning:
NMI transactions require secure, encrypted transport. Ensure that your WordPress website has a valid SSL certificate active across all checkout pages.
Invalid Security Key:
Verify that your Security Key has not been revoked or restricted in the NMI merchant dashboard and contains full API processing rights.

Frequently Asked Questions (FAQ)

Are credit card details stored on my WordPress server?

No. Card data is transmitted over encrypted HTTPS directly to NMI’s payment gateway. No raw card numbers or CVV codes are ever stored in your WordPress database, maintaining strict PCI compliance.

Can I test transactions without charging real credit cards?

Yes. Enable “Test Mode” in the global settings and use NMI’s official sandbox test card numbers to verify approval, decline, and error workflows.

Does the add-on support multi-currency processing?

Yes. As long as your merchant processor and NMI account support multiple currencies, transactions are submitted using your Gravity Forms active currency settings.

Scale Your Merchant Payments with NMI Gateway

Process credit cards directly, optimize Level 2 & 3 interchange rates, and balance multi-MID transaction volume seamlessly.

Still need help?

Our support team answers tickets every day, usually within a few hours.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr