When an NMI subscription renewal fails, the cause is almost always one of four things: the card was declined (read the code), the saved-card token no longer resolves to a card, the card changed in a way the stored credential cannot follow, or a credential and permission problem on your side. Read the response code on the renewal order first. It tells you which of the four you have and whether to retry, ask the customer, or fix your setup.
Renewals charge a stored token on a schedule, using the Customer Vault described on the saved cards and Customer Vault page. In NMI for WooCommerce, WooCommerce Subscriptions renewals are an Enterprise feature, and the Vault underneath needs Pro features. The steps below apply to that setup.
Step 1: read the code on the failed renewal order
Open the renewal order and read the order notes. Then branch:
- 261, Declined, stop all recurring payments, or 262, stop this recurring program: stop retrying. Contact the customer for a different card.
- 263, Declined, update cardholder data available: updated details exist at the network. If Account Updater is part of your account, see the card lifecycle guide. Otherwise ask the customer to update the card.
- 264, Declined, retry in a few days: a soft decline. A scheduled retry is correct, not an immediate one.
- 202 insufficient funds or 203 over limit: soft. Retry after a few days, ideally after payday.
- 223 expired card or 224 invalid expiration date: the card is dead. Ask for a new one.
- 3xx or 4xx: not the customer. Check credentials, merchant configuration, and processor settings. See invalid security key errors.
Step 2: when the token itself fails
Saved-card token errors show up as a gateway rejection (a 3xx code) with text about the vault record, not as a card decline. Check:
- Was the vault record deleted? A customer can remove a card in My Account, or an admin can delete the vault entry. Renewals scheduled against a deleted record fail.
- Sandbox versus live. A token created in sandbox does not exist on the live account. This happens after a store goes live without moving customers.
- Migrated cards. Tokens from another gateway cannot be used by NMI unless they were imported as vault records. See the CIM to Customer Vault guide.
- Different merchant ID. If you route between merchant accounts, the stored credential may belong to another one.
- Vault not enabled on the account. The Customer Vault service has to be active on your gateway account. Confirm with your provider.
Step 3: card brand and stored-credential rules
NMI documents customer-initiated and merchant-initiated transaction fields for stored cards: the first transaction is flagged as customer-initiated and stored, and each later renewal references that initial transaction. Two documented limits matter. IDs for recurring, installment and unscheduled use are not interchangeable, and a follow-up with a different card brand than the initial transaction is rejected. When a customer changes card, the new card needs its own initial transaction. Processor support for these fields varies, so confirm with your processor.
Step 4: decide who acts
- Hard decline (261, 262, 223): email the customer a link to change the payment method. Customers can manage cards in My Account.
- Soft decline (202, 203, 264): let the retry schedule run. Enterprise includes a retry on soft decline.
- Token or config error: fix it yourself, then process the renewal again by hand.
- Repeated unexplained 4xx: send your processor the transaction ID and the full response text.
Make recovery routine
Set up a dunning sequence so each failure type gets the right message. The dunning playbook gives the timing, and the renewal pre-launch checklist catches token problems before launch. For declines that are not subscription specific, see where to look when a valid card declines and the diagnosis order for card declined. The subscription stores page covers the full setup, and the troubleshooting center collects related fixes.
A worked example: three failed renewals on one morning
Three renewals fail overnight. The first order notes show 264, so the right move is to wait for the scheduled retry and do nothing manually. The second shows 223, an expired card, so the customer gets an email with the update link. The third shows a 3xx rejection with text about the vault record. That one is yours: the customer did nothing wrong, and the fix is a deleted or missing stored record, after which you process the renewal again.
The customers see three different things: nothing, a card-update email, and, if you handle it well, nothing again once you repair the record. The merchant sees all three in one list, which is why reading the code first saves hours.
A quick rule for each morning check
- 2xx codes: the issuer decided. Retry or ask the customer, depending on the code.
- 261 or 262: stop. Never retry them.
- 3xx or 4xx: look at your own setup before contacting the customer.
- More than a few identical token errors in one day: look for a shared cause, such as a recent migration or a mode switch from sandbox to live.
Ask your processor whether stored-credential and merchant-initiated flags are supported on your account, and how it wants repeated retries handled. Retry limits and rules differ by processor and card network, so write them into your dunning schedule rather than relying on a default.
Running NMI on WooCommerce? Free covers the basics and Pro adds the paid features. Compare Free and Pro.
Last reviewed November 2026.