Decline code 57, transaction not permitted to cardholder, means the issuing bank has not allowed this card to make this kind of purchase. It is not about the balance. The card may be blocked for online use, for international charges, for recurring billing or for this merchant category. In NMI this usually surfaces as response code 204, Transaction not allowed.
The standard issuer value is 57, but wording and exact numbers vary by processor and card network, so check your processor’s code list. NMI itself returns a three-digit response_code. For the wider picture see credit card decline codes explained and the NMI response code lookup.
What it means
The issuer is saying the card works, the account is open, but this transaction type is not permitted for this cardholder. Think of it as a setting on the card, not a fault in the payment. Because NMI 204 is the documented value for Transaction not allowed, that is the number to look for on the order. Whether a given processor maps 57 to 204 is not guaranteed, so read the text too.
It is different from a generic refusal. A do not honor decline gives no reason. Code 57 at least tells you the category: this card is not allowed to do this.
Why it happens
- Card not enabled for online or card-not-present use. Common with some debit, prepaid and gift cards, and with newly issued cards.
- International or cross-border restriction. The customer is in one country, your business is in another, and the issuer blocks foreign merchants.
- Recurring or stored-credential block. Some cards allow one payment but not repeat charges.
- Merchant category restriction. The cardholder or issuer blocks categories such as gambling, adult content, supplements or CBD. See MCC codes explained.
- Card type not eligible. Some commercial, HSA or restricted-use cards refuse general e-commerce.
- Merchant side. The merchant account is not set up for the transaction type. That one usually returns a 4xx gateway code instead, such as the ones covered in the NMI table, so check the number before blaming the card.
What to do
- Open the order and read the response code and text. Confirm 204 or text about not permitted. If it is a 4xx code, it is a setup problem and not this post.
- Check whether the customer used a debit, prepaid or foreign card. Those are the most likely.
- Ask the customer to try a different credit card. This resolves most cases immediately.
- If they want to keep using the card, ask them to call the number on the back and request that online or international purchases be enabled.
- Do not retry the same card for the same order. The restriction will not clear by itself within minutes.
A message you can send:
Your bank has told us that this card is not set up for this type of purchase, which usually means online or international payments are switched off. Please try a different card, or call the number on the back of your card and ask them to allow the payment.
Decision rule: who owns the fix
- Works with a second card on the same store, same amount: the first card has a restriction. Customer fixes it.
- Fails with every card for one transaction type, such as recurring: suspect merchant account setup. Call your processor.
- Fails only for one product category: expect an issuer or processor policy. Check the product and your account approval.
- Fails only for international customers: ask your processor which regions are enabled on your account.
When to stop and who to call
Stop retrying after one corrected attempt. The customer’s bank is the only party that can lift a card-level restriction. Call your gateway provider or reseller if many different customers hit 204 at once, since that points to configuration. If you are unsure who controls what, read gateway, processor and merchant account. The triage order for any decline is in the card was declined diagnosis order, and the layers are explained in credit card return codes. The previous post in this series covers decline code 54.
How NMIWP helps
NMIWP writes the raw response code into the WooCommerce order notes, so you can see 204 without opening the gateway. It uses hosted card fields and logs with card data stripped, which is available in the free version. Apple Pay and Google Pay, which sometimes succeed where a plain card is blocked, are a Pro feature. Nothing in the plugin can override an issuer restriction.
Quick answers
Is decline code 57 the same as NMI 204?
Usually, but it depends on the processor.
What does card not enabled for online use mean?
The issuer has switched off card-not-present purchases on that card. The cardholder must ask to enable them.
Will trying again work?
Not for the same card within the same session. Try another card.
Can I fix it from my side?
Not for a card-level restriction. Only your processor can change what your merchant account allows.
Running NMI on WooCommerce? Free covers the basics and Pro adds the paid features. Compare Free and Pro.
More in this series: Decline Code 14: Invalid Card Number at NMI Checkout | Mastercard Decline Codes and Merchant Advice Codes Explained | Visa Decline Codes Explained for Online Merchants
Last reviewed November 2026.