Developer's Guide
Table Of Contents
Responses to Transaction Requests
RESULT Codes and RESPMSG Values
8
80 Website Payments Pro Developer’s Guide
RESULT Values for Communications Errors
A value for RESULT less than zero indicates that a communication error occurred. In this
case, no transaction is attempted.
A value of -1 or -2 usually indicates a configuration error caused by an incorrect URL or by
configuration issues with your firewall. A value of -1 or -2 can also be possible if the PayPal
servers are unavailable, or an incorrect server/socket pair has been specified. A value of -1 can
also result when there are Internet connectivity errors. Contact Customer Support regarding
any other errors.
NOTE: Details of the response message may vary slightly depending on your SDK integration.
TABLE 8.6 RESULT values for communications errors
RESULT Description
-1 Failed to connect to host
-2 Failed to resolve hostname
-5 Failed to initialise SSL context
-6 Parameter list format error: & in name
-7 Parameter list format error: invalid [ ] name length clause
-8 SSL failed to connect to host
-9 SSL read failed
-10 SSL write failed
-11 Proxy authorisation failed
-12 Timeout waiting for response
-13 Select failure
-14 Too many connections
-15 Failed to set socket options
-20 Proxy read failed
-21 Proxy write failed
-22 Failed to initialise SSL certificate
-23 Host address not specified
-24 Invalid transaction type
-25 Failed to create a socket
-26 Failed to initialise socket layer
-27 Parameter list format error: invalid [ ] name length clause