Integration Guide

Table Of Contents
Integrating Digital Goods for Express Checkout
Integrating Digital Goods Payments With Express Checkout
2
24 January 2012 Digital Goods Integration Guide - EC Edition
10.Execute the SetExpressCheckout API operation to set up the Express Checkout
transaction.
11. Test that the response to the SetExpressCheckout API operation was successful.
Upon success, the SetExpressCheckout API operation returns a token. PayPal uses the
token to associate the execution of API operations and commands with a specific instance
of the checkout experience.
12.If calling the SetExpressCheckout API was successful, redirect the buyer to the digital
goods payments flow with the following redirect URL. Append the token value returned in
the SetExpressCheckout response to the URL:
SetExpressCheckout Example For Digital Goods
The following is an example of SetExpressCheckout parameters and values for a digital
goods payments transaction.
Request Parameters
[requiredSecurityParameters]
&METHOD=SetExpressCheckout
&RETURNURL=http://...
&CANCELURL=http://...
&PAYMENTREQUEST_0_CURRENCYCODE=USD
&PAYMENTREQUEST_0_AMT=300
&PAYMENTREQUEST_0_ITEMAMT=200
&PAYMENTREQUEST_0_PAYMENTACTION=Sale
&L_PAYMENTREQUEST_0_ITEMCATEGORY0=Digital
&L_PAYMENTREQUEST_0_ITEMCATEGORY1=Digital
&L_PAYMENTREQUEST_0_NAME0=Kitty Antics
&L_PAYMENTREQUEST_0_NAME1=All About Cats
&L_PAYMENTREQUEST_0_QTY0=1
&L_PAYMENTREQUEST_0_QTY1=1
&L_PAYMENTREQUEST_0_AMT0=100
&L_PAYMENTREQUEST_0_AMT1=100
Response Parameters
[successResponseFields]
&TOKEN=EC-17C76533PL706494P
Redirecting the Buyer to PayPal
To redirect your buyer to the PayPal digital goods payments flow, specify this URL along with
the token returned by the SetExpressCheckout API operation.
https://www.paypal.com/incontext?token=
TOKENReturned