Integration Guide

Table Of Contents
Customizing Express Checkout
Buyer Pays on PayPal
6
76 May 2010 Express Checkout Integration Guide
read Pay Now. (After the buyer returns from the PayPal site, you must call
DoExpressCheckoutPayment to actually complete the transaction.)
To display Pay Now on the button:
1. Get the token from the response to SetExpressCheckout.
The response to SetExpressCheckout is the buyers token. For example, if the value of
RETURNURL passed to SetExpressCheckout is
https://www.websitename.com/snagECvalues, the URL to which PayPal redirects
appears as https://www.websitename.com/snagECvalues?token=EC-
0W8920957N684880R
2. Add the token and the desired
useraction value (continue or commit) as name-value pairs
to the following URL:
https://www.paypal.com/cgi-bin/webscr?cmd=_express-
checkout&token=
valueFromSetExpressCheckoutResponse&useraction=commit
The figure below shows the PayPal Review page when useraction=commit.
PayPal review page when user commits to purchase on PayPal