Reason Codes and Response Codes for the Simple Order API
Simple Order
APIResponse fields and reason codes can be
added at any time.
Cybersource
recommends these best practices to
ensure you keep up-to-date with the latest possible responses:- Parse the response data according to the field names instead of the field order in the response message. For more information about parsing response fields, see the documentation for your client.
- Your error handler must be able to process new reason codes without problems.
- Your error handler must use thedecisionfield to determine the result if it receives a reason code that it does not recognize.
This table lists the possible reason codes that are returned by the
Simple Order API
in the reasonCode
field. For a list
of all of the possible reason codes and descriptions, see the .Reason Code | Processor Response Code | Description |
---|---|---|
100 |
| The transaction was successful. |
101 | The request is missing one or more required fields. Examine the
response fields missingField_0 through
missingField_N to identify which fields are
missing. Resend the request with all the required fields. | |
102 |
| One or more fields in the request contain invalid data. Examine
the response fields invalidField_0 through
invalidField_N to identify which fields are
invalid. Resend the request with valid data. |
150 |
| A system error caused the request to fail. You must design your
transaction management system to include a way to correctly handle
system errors. Depending on which payment processor is handling the
transaction, the error might indicate a valid Cybersource system error, or it might indicate a
processor rejection because of invalid data. For either reason,
Cybersource recommends you to not design your
system to keep resending a transaction when a system error occurs.
See the documentation for the Cybersource client
(SDK) that you are using for important information about how to
handle system errors and retries.Other possible reasons for a failed status:
|
151 | The request was received but a server timeout occurred. This
error does not include timeouts that occur between the client and
the server. To avoid duplicating the transaction, do not resend the
request until you have reviewed the transaction status in the
Business Center . See the documentation for your Cybersource client for information about handling retries
in the case of system errors. | |
152 | The request was received, but a service did not finish processing
in time. To avoid duplicating the transaction, do not resend the
request until you have reviewed the transaction status in the
Business Center . See the documentation for your Cybersource client for information about handling retries
in the case of system errors. | |
153 | Your account is not enabled for the OCT service. Contact your
Cybersource account manager to have your account
enabled for this service. | |
202 | The payment method is expired. You might also receive this value
if the expiration date that you provided does not match the date
that the issuing bank has on file. Request a different form of
payment. | |
203 |
| The payment method was declined. No other information was
provided by the issuing bank. Request a different form of
payment. |
204 |
| The account does not contain sufficient funds. Request a
different form of payment. |
223 |
| The processor declined the transaction due to tax errors or
government compliance errors. |
233 |
| The processor declined the payment method. For more information
about the decline, search for the transaction in the Business Center and view the transaction details. Request a
different form of payment. |