ResponseHostCode Property
Action code returned by Global Payments.
Syntax
char* GetResponseHostCode();
Default Value
""
Remarks
Action code returned by Global Payments.
Typically, if the transaction is approved, this will be the batch reference number. If the transaction is declined, the ResponseHostCode will indicate the reason for the decline. The table below lists the possible ResponseHostCode and ResponseMessage combinations for error conditions.
ResponseHostCode | ResponseMessage | Description |
000 | AP | Approved or Completed Successfully. |
000 | AP NEW INFO | Approved with updated cardholder data. |
000 | PARTIAL AP | Only part of the requested amount was approved. |
001 | CALL AE | Refer to American Express. |
001 | CALL DC | Refer to Diners Club. |
001 | CALL DISCOVER | Refer to Discover. |
001 | CALL ND | Call your Visa/MasterCard Voice Authorization Center. |
001 | CALL TK | Refer to TeleCheck. |
001 | CALL XXXXXXXXXX | Call indicated number. |
001 | ISSUER UNAVAIL | Global Payments cannot contact issuing bank for authorization. |
002 | CALL AE | Touchtone capture, won't roll to an operator. |
002 | CALL DC | Touchtone capture, won't roll to an operator. |
002 | CALL DISCOVER | Touchtone capture, won't roll to an operator. |
002 | CALL ND | Touchtone capture, won't roll to an operator. |
002 | CALL XXXXXXXXXX | Touchtone capture, won't roll to an operator. |
002 | ISSUER UNAVAIL | Touchtone capture, won't roll to an operator. |
003 | INVLD MERCH ID | Invalid Merchant ID. |
004 | PIC UP | Authorization Declined. |
005 | DECLINE | Authorization Declined. |
005 | DECLINE NEW INFO | Update cardholder data. |
005 | DECLINE TRY LATER | Try again in 3 days. |
005 | REVK PAY ORDERED | Stop payment of a specific recurring payment. |
005 | STOP PAY ORDERED | Stop all future recurring payments. |
006 | REVERSED | Requested transaction reversal was successful. |
007 | DECLINE-CV2 FAIL | Response for CVV2 failure. Declined. (Visa). |
008 | AP WITH ID | Approved with positive ID. Host does not capture this transaction. |
012 | INVLD TRAN CODE | Processing code entered is incorrect. Please refer to valid processing code. |
013 | INVLD AMOUNT | Amount entered is invalid. |
014 | INVLD ACCT | Account number does not pass issuer's edit checks. |
014 | INVLD CODE ACCT | Valid account number matched with a transaction code for a different card type. |
014 | INVLD CID | American Express CID failure. |
019 | PLEASE RETRY | Retry the transaction. |
054 | INVLD EXP DATE | Expiration date entered is incorrect. |
055 | PIN INVALID | Incorrect PIN entered. |
058 | UNAUTH TRANS | Merchant not set up for transaction code used. |
075 | MAX PIN RETRIES | Maximum PIN number entry attempts exceeded. |
094 | AP DUPE | Transaction entered is a duplicate. |
0C1 | SYSTEM UNAVAILABLE | Global Payments Check System unavailable. |
0N2 | INV AMT MATCH | The amount entered for a void or adjustment transaction does not match the amount stored in the host for that item. |
0N3 | INV ITEM NUM | The item number entered for a void or adjustment transaction is incorrect. |
0N4 | ITEM VOIDED | An adjustment or item review was attempted on a transaction previously voided. |
0N5 | MUST BALANCE NOW | Terminal has not been balanced within time specified in the Global Payments Merchant Master File for this merchant. |
0N6 | USE DUP THEN BAL | Originating device has not been balanced within time specified in the Global Payments Merchant Master File for this merchant, but merchant is set up to perform extra transactions before balancing. |
0N7 | NO DUP FOUND | Override transaction is attempted on a non-duplicated transaction. |
0N8 | INVALID DATA | Format of the transaction is incorrect. |
0NA | NO TRANS FOUND | Reversal transaction is attempted on a transaction that is not in the open batch on the host. |
0NC | AP NOT CAPTURED | Approved but not captured (applies only to credit card transactions)- stand in. |
0NE | AP AUTH-ONLY | Approved but this EDC merchant is not set up to capture this card type (applies only to credit card transactions). |
PART AP AUTH-ONLY | Only part of the requested amount was approved, but this EDC merchant is not set up to capture this card type (applies only to credit card transactions). | |
0P1 | APPROVED | Approved debit card transaction. |
0P2 | DB UNAVAIL 02 | Global Payments is experiencing a problem. |
0P5 | UNAUTH USER | Merchant is not set up for debit on Global Payments Merchant Master File. |
0P6 | INVALID CARD | Invalid card number. |
0T1 | EDC UNAVAILABLE | EDC application down, try later. |
0T2 | DB UNAVAIL 01 | Debit application down, try later. |
121 | EXCEEDS MAX AMT | Exceeds withdrawal amount limit. |
121 | EXCEEDS MAX AMT | Exceeds withdrawal amount limit. |
IMPORTANT: When programmatically validating a transaction's result, the ResponseCode value should ALWAYS be used instead of any other response messages describing the result. For example, do not use ResponseHostCode, ResponseMessage, ResponseMessageDetail, or any other responses, as these values may vary. This tables is included for informational purposes only.
This property is read-only.
Data Type
String