Developer's Guide

Website Payments Pro Developer’s Guide 5
Contents
Chapter 5 Testing Credit Card Transactions . . . . . . . . . . . . . .43
Testing Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Credit Card Numbers Used for Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Testing Result Code Responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Chapter 6 PayPal Express Checkout Transaction Processing . . . . .47
What Is PayPal Express Checkout? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
How PayPal Express Checkout Works . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Sale and Authorisation Transactions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Void, Delayed Capture and Credit Transactions . . . . . . . . . . . . . . . . . . . . . 50
PayPal Express Checkout Sale Transaction Example . . . . . . . . . . . . . . . . . . . . 50
Set Express Checkout (ACTION=S) . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Redirecting the Customer to PayPal Example. . . . . . . . . . . . . . . . . . . . . . 51
Get Express Checkout Details (ACTION=G) . . . . . . . . . . . . . . . . . . . . . . 52
Redirecting the Customer to Your Website Example . . . . . . . . . . . . . . . . . . 52
Do Express Checkout Payment (ACTION=D) . . . . . . . . . . . . . . . . . . . . . . 53
PayPal Express Checkout Transaction Parameter Descriptions . . . . . . . . . . . . . . 53
Sale and Authorisation Transaction Parameters . . . . . . . . . . . . . . . . . . . . 53
Void Transaction Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Delayed Capture Transaction Parameters. . . . . . . . . . . . . . . . . . . . . . . . 62
Credit Transaction Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Chapter 7 PayPal Button Placement and Page Designs . . . . . . . .65
HTML for PayPal Button Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Examples of Button Placement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Payment Method Page Layout Recommendations . . . . . . . . . . . . . . . . . . . . . 67
Chapter 8 Responses to Transaction Requests . . . . . . . . . . . .69
Contents of a Transaction Response . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Address Verification Responses from PayPal . . . . . . . . . . . . . . . . . . . . . . . . 71
Card Security Code Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Normalised Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
PayPal Card Security Code Results . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
PNREF Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
PNREF Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73