Developer's Guide
Table Of Contents
8
74
Responses to Transaction Requests
RESULT Codes and RESPMSG Values
The PNREF in a transaction response tells you that your transaction is connecting to PayPal.
Historically, the contents of a PNREF indicated a test or a live transaction:
• For test servers, the first and fourth characters were alpha characters (letters), and
the second and third characters were numeric, for example: V53A17230645.
• For live servers, the first four characters were alpha characters (letters), for
example: VPNE12564395.
However, this is not always the case, and as a rule, you should not place any meaning on the
contents of a PNREF.
RESULT Codes and RESPMSG Values
RESULT is the first value returned in the server response string. The value of the RESULT
parameter indicates the overall status of the transaction attempt.
• A value of 0 (zero) indicates that no errors occurred and the transaction was approved.
• A value less than zero indicates that a communication error occurred. In this
case, no transaction is attempted.
• A value greater than zero indicates a decline or error.
The response message (RESPMSG) provides a brief description for decline or error results.
RESULT Values for Transaction Declines or Errors
For non-zero Results, the response string includes a RESPMSG name-value pair. The exact
wording of the RESPMSG (shown in bold) may vary. Sometimes a colon appears after the
initial RESPMSG followed by more detailed information.
TABLE 8.5 Payflow transaction RESULT values and RESPMSG text
RESULT RESPMSG and Explanation
0 Approved
1 User authentication failed. Error is caused by one or more of the following:
• Invalid Processor information entered. Contact merchant bank to verify.
• 'Allowed IP Address' security feature implemented. The transaction is coming
from
an unknown IP address. See PayPal Manager Online Help for details on how to use
Manager to update the allowed IP addresses.
• You are using a test (not active) account to submit a transaction to the live PayPal
servers. Change the URL from pilot-payflowpro.verisign.com to
payflowpro.verisign.com.
2 Invalid tender type. Your merchant bank account does not support the following
credit card type that was submitted.
3 Invalid transaction type. Transaction type is not appropriate for this transaction. For
example, you cannot credit an authorisation-only transaction.
Website Payments Pro Developer’s
Guide