2007

Table Of Contents
Accepting PayPal in Express Checkout
Controlling the Shipping Address Using SetExpressCheckout
2
22 April 2007 Name-Value Pair API Developer Guide and Reference
GetExpressCheckoutDetails does not return the shipping address.
Overriding the Shipping Address Stored on PayPal
To override the shipping address stored on PayPal, call SetExpressCheckout to set
ADDROVERRIDE to 1 and set the shipping address fields (see Table A.3, “Ship to Address
(Optional)”).
The customer cannot edit the address if it has been overridden.
GetExpressCheckoutDetails returns the overridden shipping address.
EXAMPLE 2.2 GetExpressCheckoutDetails
Request
[requiredSecurityParameters]
&METHOD=GetExpressCheckoutDetails&
TOKEN=EC-17C76533PL706494P
Response
[successResponseFields]
&TOKEN=EC-
17C76533PL706494P&EMAIL=abcdef@anycompany.com&PAYERID=95HR9CM6D56Q2&
PAYERSTATUS=verified&FIRSTNAME=John&LASTNAME=Smith&COUNTRYCODE=US&
ADDRESSID=PayPal&ADDRESSSTATUS=None
EXAMPLE 2.3 Overriding the Shipping Address
Request
[requiredSecurityParameters]
&METHOD=SetExpressCheckout&AMT=10.00&
RETURNURL=https://www.anycompany.com/orderprocessing/orderreview.html&
CANCELURL=https://www.anycompany.com/orderprocessing/shippinginfo.html
&SHIPTONAME=Peter+Smith&
SHIPTOSTREET=144+Main+St.&SHIPTOCITY=SAN+JOSE
&SHIPTOSTATE=CA&SHIPTOCOUNTRYCODE=US&SHIPTOZIP=99911&
ADDROVERRIDE=1
Response
[successResponseFields]
&TOKEN=EC-17C76533PL706494P
EXAMPLE 2.4 GetExpressCheckoutDetails
Request
[requiredSecurityParameters]
&METHOD=GetExpressCheckoutDetails&TOKEN=EC-
17C76533PL706494P
Response
[successResponseFields]
&TOKEN=EC-17C76533PL706494P&
PAYER=abcdef@anycompany.com&PAYERID=95HR9CM6D56Q2&PAYERSTATUS=verified&
FIRSTNAME=John&LASTNAME=Smith&
COUNTRYCODE=US&SHIPTONAME=Peter+Smith&SHIPTOSTREET=144+Main+St.&
SHIPTOCITY=SAN+JOSE&SHIPTOSTATE=CA&SHIPTOCOUNTRYCODE=US&SHIPTOZIP=95112&
ADDRESSID=PayPal&ADDRESSSTATUS=Unconfirmed