Advanced Features Guide

Table Of Contents
Express Checkout Advanced Features Guide April 2012 15
Customizing Express Checkout
Obtaining Buyer Consent to Receive Promotional Email
1
Related information:
"PayPal Review Page Order Details" on page 9
Obtaining Buyer Consent to Receive Promotional Email
You can obtain the buyers consent to receive email promotions on PayPal pages. PayPal
returns the email address in the response to GetExpressCheckoutDetails and
DoExpressCheckoutPayment.
NOTE: Obtaining buyer consent to receive promotional email is available with API Version
61.0 or later.
To obtain the buyers email address, set the BUYEREMAILOPTINENABLE field to 1 in the call
to SetExpressCheckout.
The following request example sets this field:
Request Parameters
[requiredSecurityParameters]
&METHOD=SetExpressCheckout
&RETURNURL=https://...
&CANCELURL=https://...
&PAYMENTREQUEST_0_AMT=10.00
&PAYMENTREQUEST_0_CURRENCYCODE=USD
&PAYMENTREQUEST_0_PAYMENTACTION=Sale
&BUYEREMAILOPTINENABLE=1
Response Parameters
[successResponseFields]
&TOKEN=EC-17C76533PL706495P
The following figure shows how this appears to the buyer in the cart review area.