PaymentGatewayLibrary

AuthorizeNetResponse.GatewayResponse Property

Gets the array of fields returned by the gateway.

[Visual Basic]
Public ReadOnly Property GatewayResponse As String()
[C#]
public string[] GatewayResponse {get;}

Remarks

There are two versions of the response. The set of fields in the response differ based on the response Version.

Version 3.0

The version 3.0 response contains system fields from position 1 to 38 and echoes merchant defined fields from 39 on, in the order received by the system.

Version 3.1

The version 3.1 response string contains 68 system fields with field number 39 representing the Card Code (CVV2/CVC2/CID) response code. Merchant defined fields are echoed from field 69 on. Merchants wishing to use the Card Code feature must use transaction version 3.1.

Position in Response (Field Name)Description
1 (Response Code)Indicates the result of the transaction: 1 = Approved, 2 = Declined, 3 = Error.

Use ResponseCode instead.

2 (Response Subcode)A code used by the system for internal transaction tracking.

Use ResponseSubcode instead.

3 (Response Reason Code)A code representing more details about the result of the transaction.

Use ResponseReasonCode instead.

4 (Response Reason Text)Brief description of the result, which corresponds with the Response Reason Code.

Use ResponseReasonText instead.

5 (Approval Code)The six-digit alphanumeric authorization or approval code.

Use ApprovalCode instead.

6 (AVS Result Code)Indicates the result of Address Verification System (AVS) checks: A = Address (Street) matches, ZIP does not, B = Address information not provided for AVS check, E = AVS error, G = Non-U.S. Card Issuing Bank, N = No Match on Address (Street) or ZIP, P = AVS not applicable for this transaction, R = Retry – System unavailable or timed out, S = Service not supported by issuer, U = Address information is unavailable, W = 9 digit ZIP matches, Address (Street) does not, X = Address (Street) and 9 digit ZIP match, Y = Address (Street) and 5 digit ZIP match, Z = 5 digit ZIP matches, Address (Street) does not.

Use AVSResultCode instead.

7 (Transaction Id)This number identifies the transaction in the system and can be used to submit a modification of this transaction at a later time, such as voiding, crediting or capturing the transaction.

Use TransactionId instead.

8 (Invoice Number)Echoed from form input value for AuthorizeNetRequest.InvoiceNumber.

Use InvoiceNumber instead.

9 (Description)Echoed from form input value for AuthorizeNetRequest.Description.

Use Description instead.

10 (Amount)Echoed from form input value for AuthorizeNetRequest.Amount.

Use Amount instead.

11 (Method)Echoed from form input value for AuthorizeNetRequest.Method.

Use Method instead.

12 (Transaction Type)Echoed from form input value for AuthorizeNetRequest.Type.

Use Type instead.

13 (Customer Id)Echoed from form input value for AuthorizeNetRequest.CustomerId.

Use CustomerId instead.

14 (Cardholder First Name)Echoed from form input value for AuthorizeNetRequest.FirstName.

Use CardholderFirstName instead.

15 (Cardholder Last Name)Echoed from form input value for AuthorizeNetRequest.FirstName.

Use CardholderLastName instead.

16 (Company)Echoed from form input value for AuthorizeNetRequest.Company.

Use Company instead.

17 (Billing Address)Echoed from form input value for AuthorizeNetRequest.Address.

Use BillingAddress instead.

18 (City)Echoed from form input value for AuthorizeNetRequest.City.

Use City instead.

19 (State)Echoed from form input value for AuthorizeNetRequest.State.

Use State instead.

20 (Zip)Echoed from form input value for AuthorizeNetRequest.Zip.

Use Zip instead.

21 (Country)Echoed from form input value for AuthorizeNetRequest.Country.

Use Country instead.

22 (Phone)Echoed from form input value for AuthorizeNetRequest.Phone.

Use Phone instead.

23 (Fax)Echoed from form input value for AuthorizeNetRequest.Fax.

Use Fax instead.

24 (Email)Echoed from form input value for AuthorizeNetRequest.Email.

Use Email instead.

25 (Ship to First Name)Echoed from form input value for AuthorizeNetRequest.ShipToFirstName.

Use ShipToFirstName instead.

26 (Ship to Last Name)Echoed from form input value for AuthorizeNetRequest.ShipToLastName.

Use ShipToLastName instead.

27 (Ship to Company)Echoed from form input value for AuthorizeNetRequest.ShipToCompany.

Use ShipToCompany instead.

28 (Ship to Address)Echoed from form input value for AuthorizeNetRequest.ShipToAddress.

Use ShipToAddress instead.

29 (Ship to City)Echoed from form input value for AuthorizeNetRequest.ShipToCity.

Use ShipToCity instead.

30 (Ship to State)Echoed from form input value for AuthorizeNetRequest.ShipToState.

Use ShipToState instead.

31 (Ship to Zip)Echoed from form input value for AuthorizeNetRequest.ShipToZip.

Use ShipToZip instead.

32 (Ship to Country)Echoed from form input value for AuthorizeNetRequest.ShipToCountry.

Use ShipToCountry instead.

33 (Tax Amount)Echoed from form input value for AuthorizeNetRequest.Tax.

Use TaxAmount instead.

34 (Duty Amount)Echoed from form input value for AuthorizeNetRequest.Duty.

Use DutyAmount instead.

35 (Freight Amount)Echoed from form input value for AuthorizeNetRequest.Freight.

Use FreightAmount instead.

36 (Tax Exempt Flag)Echoed from form input value for AuthorizeNetRequest.TaxExempt.

Use TaxExemptFlag instead.

37 (PO Number)Echoed from form input value for AuthorizeNetRequest.PurchaseOrderNumber.

Use PurchaseOrderNumber instead.

38 (MD5 Hash)System-generated hash that may be validated by the merchant to authenticate a transaction response received from the gateway.

Use MD5Hash instead.

39 (Card Code (CVV2, CVC2, CID) Response)Indicates the results of Card Code verification: M = Match, N = No Match, P = Not Processed, S = Should have been present, U = Issuer unable to process request,

Use CardCodeResponse instead.

40 - 68Reserved for future use.
69 - Echo of merchant defined fields. See MerchantDefinedFields

See Also

AuthorizeNetResponse Class | Duis.Payment Namespace