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

NMI Duplicate Transaction Errors in WooCommerce

Why NMI rejects a repeat charge as a duplicate (300 or 430), how to check whether the first attempt went through, and how to stop it recurring.

An NMI duplicate transaction error means the same card and amount was submitted again inside a short window, and a duplicate check refused the second one. It can come from the gateway, shown as a 300 rejection with duplicate wording in responsetext, or from the processor, shown as code 430, Duplicate transaction at processor. Before you retry, check whether the first attempt actually went through. Often it did, and the error is protecting you from a double charge.

Do not turn the check off to make the error disappear until you know why the second submission happened. Most duplicate errors are a symptom of a customer double-click, a timeout, or a retry, and the fix is upstream of the setting.

Two places a duplicate can be caught

  • The gateway. NMI has a duplicate transaction setting. The API field dup_seconds sets the window on supported processors, 0 disables it, and the documented maximum is 7862400 seconds. Third-party sources quote a default of 1200 seconds (20 minutes), but NMI’s own pages do not state a default, so check the setting in your account. The rejection normally comes back as a 300, and the text names a duplicate.
  • The processor. Code 430 is documented by NMI as Duplicate transaction at processor. The processor applies its own rule, which you do not control.

Third parties disagree about whether a duplicate shows as 300 or 430. Read the code and the full text together, as described in the response fields guide.

The usual causes on a WooCommerce store

  1. Double-click on Place order. Two requests, one card. The second is refused. The first may have succeeded.
  2. Timeout, then retry. The customer saw an error after the request was slow, tried again, and the first one had actually been approved. See gateway connection errors for the timeout side.
  3. Legitimate repeat purchases. Two real orders of the same amount on the same card in minutes, such as a customer buying the same item twice, or a recurring product with a fixed price.
  4. Staff re-running a failed order. Someone retried from admin without checking the portal.
  5. A plugin or theme firing the checkout twice. A JavaScript conflict can submit the form two times.

What to do, in order

  1. Open the WooCommerce order and read the order notes for the response code and text.
  2. Search the NMI Merchant Portal for the amount and the last four digits around that time. If an approved transaction exists, the customer was charged. Mark the order paid or complete it by hand and do not charge again.
  3. If no approved transaction exists, the duplicate was against a declined or voided attempt. Ask the customer to wait a few minutes or change something real, such as using another card. Do not ask them to alter the amount to get around the check.
  4. If it is a genuine repeat order, lengthen no window. Instead, tell the customer, or consider whether your duplicate window is longer than your real repeat purchase pattern.
  5. If both an approved and a second charge exist, void the second if it has not settled, or refund it after settlement. The refund and void guide explains which to use.

Preventing it

  • Disable the Place order button after the first click, which block and classic checkouts usually do already. If yours does not, a theme or script conflict is likely.
  • Keep your checkout fast enough that customers do not retry. Slow pages cause repeated clicks.
  • Do not auto-retry a failed payment on a timeout without checking the portal first.
  • Test with the sandbox so you can reproduce the duplicate without real cards. The test card guide lists scenarios.

Who controls what

NMI defines the gateway check and the 430 code. NMI for WooCommerce records the response on the order and does not override the check. Whether the duplicate window can be changed, and whether the processor runs its own check, depends on your gateway account and processor. Confirm with your provider before you change the setting. If the symptoms look like authentication problems instead, see invalid security key errors. Related fixes are collected in the troubleshooting documentation and the troubleshooting center.

Last reviewed November 2026.

NMI for WooCommerce

Stop double charges at checkout

See how the order notes and logs help you check the first attempt.

Open troubleshooting docsSee pricing

Free on WordPress.org.