Guides / CyberSource

CyberSource Reason Codes: How to Fix Declines in WooCommerce

CyberSource Reason Codes Explained: What each decline means and which ones you can fix yourself.

When a CyberSource payment fails in WooCommerce, the customer usually sees a short, polite message such as “Your payment could not be processed.” That wording is deliberately vague. Behind it, CyberSource returned a precise reason code, and CyberSource reason codes tell you whether the card was declined by the bank, rejected by your fraud rules or refused because of a problem in your own setup. This guide explains where to find the reason and what each common one means.

What are CyberSource reason codes?

Short answer: A reason code is CyberSource’s explanation of why a transaction did not succeed. The older APIs (SOAP and Secure Acceptance) return a three-digit number, such as 204 for insufficient funds. The REST API used by Unified Checkout returns a status such as DECLINED together with a named reason such as INSUFFICIENT_FUND. Both point to the same causes, and both are recorded against the transaction in the Business Center.

Reason codes fall into three groups, and the group decides who can fix the problem:

GroupTypical codesWho fixes it
Card declined by the issuer201, 202, 203, 204, 205, 208, 210, 211, 233The customer: another card, or a call to their bank
Declined by your own rules200, 230, 400, 476, 481You: review the order and your AVS, CVN and fraud settings
Setup or system errors101, 102, 104, 150, 151, 152, 231, 234, 236You or your developer: settings, data or connectivity

Where to find the reason code for a WooCommerce order

  1. Order notes. Open the failed order in WooCommerce › Orders. The payment plugin adds a note with the response it received.
  2. Debug log. In the CyberSource Unified Checkout settings, open the Debug tab and switch on logging. Then go to WooCommerce › Status › Logs and open the CyberSource log for the day of the order. The full response is there, including errorInformation.reason and, for issuer declines, processorInformation.responseCode.
  3. Business Center. Log in at the CyberSource Business Center, open Transaction Management › Transactions, search by the order number or amount and open the transaction. The reply section shows the reason code and the processor response.

The Business Center is the source of truth. If the order note and the Business Center disagree, trust the Business Center.

Card declines from the issuing bank

These codes come from the customer’s bank. Your store did nothing wrong, and retrying the same card rarely helps.

CodeREST reasonWhat it meansWhat to do
201CONTACT_PROCESSORThe issuer wants the cardholder to call themAsk the customer to call their bank or use another card
202EXPIRED_CARDThe card has expired, or the expiry date was typed wrongAsk the customer to check the date
203PROCESSOR_DECLINEDGeneral decline with no reason givenAsk for another card
204INSUFFICIENT_FUNDNot enough funds or credit availableAsk for another card
205STOLEN_LOST_CARDThe card is reported lost or stolenDo not retry. Cancel the order
208UNAUTHORIZED_CARDThe card is inactive or not allowed for online purchasesThe customer must contact their bank
210EXCEEDS_CREDIT_LIMITThe card has reached its limitAsk for another card
211INVALID_CVNThe security code is wrongAsk the customer to retype the CVV
233GENERAL_DECLINEGeneral decline from the processorAsk for another card

A burst of 205, 211 and 233 declines from different cards within minutes is a sign of card testing, not of unlucky customers. See the section on card testing below.

Declines caused by your own rules

These transactions were approved or could have been approved by the bank, but a check you control stopped them.

  • 200 (AVS soft decline). The bank approved the card, but the billing address did not match and your AVS settings rejected it. Check the address with the customer, or relax AVS rules in the Business Center if you see many genuine customers failing.
  • 230 (CVN soft decline). Same idea, for the security code check.
  • 400 (fraud score too high). The fraud score exceeded your threshold.
  • 476 (payer authentication failed). The customer failed or abandoned the 3D Secure step. They can try again and complete the bank’s check.
  • 480 and 481 (Decision Manager review or reject). Your Decision Manager rules flagged the order. 480 means “review”: the authorization exists and you decide in the Case Management screen. 481 means rejected.

A soft decline (200 or 230) may leave an authorization hold on the customer’s card even though the order failed. CyberSource normally reverses it automatically. If a customer complains about a pending charge, check the transaction in the Business Center before you reply.

Setup and system errors

These codes mean the request itself had a problem. They need fixing on your side, because every customer will hit them.

CodeREST reasonCauseFix
101MISSING_FIELDA required field was not sentCheck the checkout fields the plugin needs, such as billing address and email
102INVALID_DATAA field has the wrong format or lengthLook in the debug log for the field name. Long product names or odd characters in addresses are common
104DUPLICATE_REQUESTThe same reference was sent twice within 15 minutesUsually a double click or a retry. Check that only one charge exists
150SYSTEM_ERRORA general error at CyberSourceWait and retry. Check the CyberSource status page
151, 152SERVER_TIMEOUT, SERVICE_TIMEOUTThe request timed outCheck the Business Center before retrying, as the payment may have gone through
231INVALID_ACCOUNTThe card number is invalidAsk the customer to retype it
234INVALID_MERCHANT_CONFIGURATIONYour CyberSource account is not set up for this requestContact CyberSource support with the transaction ID
236PROCESSOR_UNAVAILABLEThe processor did not respondRetry later

If every payment fails with 234 or with an authentication error, the problem is your account or your keys, not your customers. Check that the Merchant ID, Key ID and Shared Secret belong to the same environment (test or live). Our guide to the Unified Checkout “call failed” error covers key and origin problems in detail.

How to tell a soft decline from a hard decline

A hard decline (205, 208, 231) will never succeed with that card, so don’t let the customer keep retrying it. A soft decline (200, 230, 476, 480) can succeed once the cause is fixed: a corrected address, a completed 3D Secure check or your manual approval. Issuer declines such as 203 and 204 sit in between. The card might work tomorrow, but not right now.

Watch for card testing

Card testers use your checkout to check stolen card numbers with small orders. The pattern is easy to spot in the reason codes: many failed orders in a short time, often for your cheapest product, with a mix of 205, 211, 231 and 233.

If you see this:

  1. Turn on a bot check at checkout, such as Cloudflare Turnstile or reCAPTCHA.
  2. Add velocity rules in Decision Manager, for example a limit on failed attempts per IP address or per email.
  3. Cancel the failed orders, and check that no small payments were captured.

Test reason codes in the sandbox

You can trigger most declines on purpose in the CyberSource test environment by using the test cards and amounts CyberSource publishes. Run at least an approval, a decline and an AVS mismatch before you go live, so you know what your customers will see. Our CyberSource sandbox guide lists the scenarios worth running.

Frequently asked questions

Where can I see the CyberSource reason code for an order?

In the WooCommerce order notes, in the plugin’s debug log under WooCommerce › Status › Logs, and in the CyberSource Business Center under Transaction Management. The Business Center has the complete reply.

What does CyberSource reason code 203 mean?

It is a general decline from the card issuer with no specific reason given. The customer should use another card or contact their bank. Retrying the same card usually fails again.

Why do I get reason code 102 on every order?

A field in the request has the wrong format. Turn on debug logging and look at the field named in the error. Common causes are product names or addresses that are too long or contain characters the processor does not accept.

Is a 480 decline a failed payment?

Not necessarily. 480 means Decision Manager marked the order for review. The authorization exists, and you accept or reject it in Case Management in the Business Center.

Can I stop customers retrying a declined card?

Yes. Hard declines such as 205 should not be retried. Use velocity rules in Decision Manager to limit repeated failed attempts, which also protects you from card testing.

Set up CyberSource the right way

Most setup-related reason codes disappear once the keys, environment and checkout fields are right. The Unified Checkout setup guide walks through the full configuration.

Leave a Reply

Your email address will not be published. Required fields are marked *