The pg_response_code and pg_response_code_description fields are returned in the response message. Their values are listed in the following three tables.
These responses are returned for all processed transactions. The A01 response is the only code ever returned for approved transactions. The “U” codes are for declined transactions. In some cases the pg_response_description field value will differ from that in the “description” column.
*pg_response_description will contain the text of the vendor’s response
**pg_response_description will contain a more specific message
These are the codes returned when formatting errors are found. The response description field will actually list all offending fields in the message (to the 80 character limit). The description field will be formatted as:
The pg_response_code will contain the first error type encountered. All formatting errors begin with “F”.
These exceptions will stop the processing of a well-formed message due to security or other considerations. All fatal exceptions begin with an “E.”