Response Property
Contains the response to the authorization.
Syntax
public EPResponse getResponse();
Remarks
This property will contain the response returned from the Gateway server. It should be inspected (and logged) after a call to AuthOnly, Sale, Capture, Credit, Force, or VoidTransaction. The EPResponse type contains the following fields:
ApprovalCode | Contains an authorization code for an approved transaction. |
Approved | Indicates whether the transaction was successful (True) or unsuccessful (False). |
ApprovedAmount | The amount approved for the transaction, this is the amount actually charged to the credit card. |
AVSResult | Contains the Address Verification System result code. Used for fraud detection. |
Code | Indicates the success or failure of the transaction. |
CVVResult | Contains the returned CVV result code if it was requested. Used for fraud detection. |
Data | Contains the raw response from the host. |
ErrorCode | Additional code returned for declined or failed transactions. |
ErrorText | Description of the error which occurred. |
InvoiceNumber | Merchant-generated invoice number echoed back in the response. |
ProcessorCode | Return code generated by the processor, or additional gateway response code that may contain more information beyond "Approved" or "Declined". |
Text | Contains a human-readable message explaining the code. |
TransactionId | Host-generated transaction identifier, used for Captures, Credits, or Voids. |
Note that many gateways do not return values in all of these fields. Any field in the Data which has not been parsed into these Response fields may be retrieved with the GetResponseVar method.
The AVSResult field will not be filled for e-check transactions.
This property is read-only and not available at design time.