2007

Table Of Contents
Accepting PayPal in Express Checkout
Form-Filling Your Payment Review Page Using GetExpressCheckoutDetails
2
24 April 2007 Name-Value Pair API Developer Guide and Reference
Specifying Logo and Color Settings Individually
You can modify the PayPal web pages to look like your own web pages by setting the
following parameters in SetExpressCheckout:
z HDRIMG: specify an image to appear at the top left of the payment page
z HDRBORDERCOLOR: set the border color around the header of the payment page
z HDRBACKCOLOR: set the background color for the background of the header of the payment
page
z PAYFLOWCOLOR: set the background color for the payment page
Form-Filling Your Payment Review Page Using
GetExpressCheckoutDetails
Use the payer name and shipping address returned by GetExpressCheckoutDetails
response to fill in form fields on your payment review page which you display after the
customer returns from PayPal.
EXAMPLE 2.7 Specifying Logo and Color Settings Individually
Request
[requiredSecurityParameters]
&METHOD=SetExpressCheckout&AMT=10.00&
RETURNURL=https://www.anycompany.com/orderprocessing/orderreview.html&
CANCELURL=https://www.anycompany.com/orderprocessing/shippinginfo.html&
HDRIMG=https://www.anycompany.com/images/HeaderImage.gif&
HDRBORDERCOLOR=3366FF&HDRBACKCOLOR=D3EFF5&PAYFLOWCOLOR=F8F5F5
Response
[successResponseFields]
&TOKEN=EC-17C76533PL706494P
EXAMPLE 2.8 Form-Filling Your Payment Review Page
Request
[requiredSecurityParameters]
&METHOD=GetExpressCheckoutDetails&
TOKEN=EC-3DJ78083ES565113B
Response
[successResponseFields]
&TOKEN=EC-3DJ78083ES565113B&EMAIL=abcdef@anyemail.com&
PAYERID=95HR9CM6D56Q2&PAYERSTATUS=verified&FIRSTNAME=John&LASTNAME=Smith&
COUNTRYCODE=US&SHIPTONAME=John Smith&SHIPTOSTREET=144+Main+St.&
SHIPTOCITY=San+Jose&SHIPTOSTATE=CA&SHIPTOCOUNTRYCODE=US&SHIPTOZIP=99221&
ADDRESSID=PayPal&ADDRESSSTATUS=Confirmed