Developer's Guide

Website Payments Pro Developer’s Guide 69
8
Responses to Transaction
Requests
This chapter describes the contents of a response to a transaction request. When a transaction
finishes, the Payflow server returns a response string made up of name-value pairs. For
example, this is a response to a credit card Sale transaction request:
RESULT=0&PNREF=VXYZ01234567&RESPMSG=APPROVED&AUTHCODE=123456
&AVSADDR=Y&AVSZIP=N&IAVS=Y&CVV2MATCH=Y
Contents of a Transaction Response
All transaction responses include values for RESULT, PNREF and RESPMSG. Values for
AVSADDR and AVSZIP are included if you use AVS. Table 8.1 describes the values returned
in a response string.
TABLE 8.1 Transaction response values
Field Description Type Length
PNREF Reference ID, a unique number that
identifies the transaction. PNREF is
described in “PNREF Format” on
page 73.
Alphanumeric 12
RESULT The outcome of the attempted
transaction. A result of 0 (zero) indicates
the transaction was approved. Any other
number indicates a decline or error.
RESULT codes are described in
“RESULT Codes and RESPMSG Values”
on page 74.
Numeric Variable
CVV2MATCH Result of the card security code (CVV2)
check. The issuing bank may decline the
transaction if there is a mismatch. In
other cases, the transaction may be
approved despite a mismatch.
Alpha
Y, N, X, or no
response
For details on PayPal-
specific responses,
also see “Card
Security Code
Results,” in this
chapter.
1