Developer's Guide
Table Of Contents
Testing Credit Card Transactions
Testing Result Code Responses
5
44 Website Payments Pro Developer’s Guide
Testing Result Code Responses
You can use the amount of the transaction to generate a particular result code. Table 5.2
lists the general guidelines for specifying amounts.
Table5.3 shows amounts that return specific PayPal result codes.
MasterCard 5105105105105100
Visa 4111111111111111
Visa 4012888888881881
Visa 4222222222222
NOTE: Even though this number has a different character count than
the other test numbers, it is the correct and functional number.
T
ABLE 5.2 Result codes resulting from amount submitted
Amount Result (RESPMSG)
$0 – $10000 0 (Approved)
$10001 or greater Certain amounts in this range return specific PayPal result codes.
If the amount is in this range but does not correspond to a PayPal result
code supported by this testing mechanism, result 1000 is returned.
T
ABLE 5.3 Obtaining PayPal result code
Result Definition How to test using Website Payments Pro Payflow Edition
0 Approved Use an AMOUNT of 10000 or less
3 Invalid transaction type Use the AMOUNT 10402
4 Invalid amount Use any of these as AMOUNT:
10400
10401
10403
10414
5 Invalid merchant
information
Use any of these as AMOUNT:
10548
10549
T
ABLE 5.1 Test credit card numbers (Continued)