2007

Table Of Contents
Name-Value Pair API Developer Guide and Reference April 2007 41
NVP API Method and Field Reference
Express Checkout
SetExpressCheckout Response
Redirecting the Customer’s Browser to PayPal Login Page
After you receive a successful response from SetExpressCheckout, add the TOKEN from
SetExpressCheckout response as a name/value pair to the following URL, and redirect your
customers browser to it:
https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&
token=value_from_SetExpressCheckoutResponse
For redirecting the customer’s browser to the PayPal login page, PayPal recommends that you
use the HTTPS response 302 “Object Moved” with the URL above as the value of the
Location header in the HTTPS response. Ensure that you use an SSL-enabled server to prevent
browser warnings about a mix of secure and insecure graphics.
GetExpressCheckoutDetails Request
TABLE A.4 SetExpressCheckout Response Fields
Parameter Description
TOKEN A timestamped token by which you identify to PayPal that you are processing this
payment with Express Checkout.
N OTE: The token expires after three hours.
If you set the token in the SetExpressCheckout request, the value of the token in the
response is identical to the value in the request.
Character length and limitations: 20 single-byte characters
T
ABLE A.5 GetExpressCheckoutDetails Parameters
Parameter Description Required?
METHOD Name of the API: GetExpressCheckoutDetails Yes
TOKEN A timestamped token, the value of which was returned by
SetExpressCheckout response.
Character length and limitations: 20 single-byte characters
Allowable values: An unexpired token
Yes