Introducing Digital Goods for Express Checkout
Note: Express Checkout Digital Goods is no longer available for new integrations. This feature remains available for merchant accounts that already have Express Checkout Digital Goods enabled.
Digital goods are items such as e-books, music files, and digital images distributed in electronic format. The buyer can conveniently purchase digital goods during checkout with a minimum of clicks without leaving your website or interrupting their online activities.
Enabling your PayPal Account for Digital Goods
Please contact your sales representative to enable your account for PayPal Digital Goods. Additionally, merchants in the US or Canada can contact either 1-855-477-5673 or 1-888-818-3922 to activate Digital Goods for their accounts.
Introducing Digital Goods Payments
The following figure encapsulates digital goods payments:
Figure 1. PayPal for digital goods payments
To make a payment for a digital goods item, the buyer:
- Clicks Pay With PayPal. The button click triggers the call to the
SetExpressCheckoutAPI operation. PayPal redirects the buyer to a lightbox overlaying your website.
- Confirms the order on your page after the lightbox closes.
- Resumes activity on your page.
Express Checkout Buttons
The button you place on your web page to initiate PayPal digital goods transactions is available at the following URL:
Note: Do not host copies of the PayPal images locally on your servers. Outdated PayPal images reduce buyer confidence in your site.
Digital Goods Payments In More Detail
To the buyer, the digital goods payment process appears to be built into your website. The digital goods payment process occurs in a lightbox that temporarily overlays your website.
Your buyer's digital goods payment experience depends upon two factors:
- The value you set for the experience type variable on your web page You determine how the digital goods flow appears to your buyers by setting (or not setting) the experience type variable (
expType) on your web page (For details on setting
- Whether the buyer is remembered from a previous transaction Your buyers partially determine the digital goods flow by choosing whether to check the "remember me" box on the login page. (Checking the box creates a "remember me cookie" on the buyer's machine that lets them skip the login page on subsequent visits.)
The following table describes the possible digital goods (DG) flows that the combination of
expType and "Remember Me Cookie" present to a buyer:
|expType||Remember Me Cookie||DG Flow Experience|
||No||The login page opens in a mini-browser.|
|Yes||The merchant review page opens in a lightbox, and a mask is applied over the underlying web page.|
||No||The login page opens in a mini-browser, and a mask is applied over the underlying web page.|
|Yes||The merchant review page opens in a mini-browser, and a mask is applied over the underlying web page.|
||No||The login page opens in a mini-browser, and a mask is not applied to the underlying web page.|
|Yes||The merchant review page opens in a mini-browser, and a mask is not applied to the underlying web page.|
||No||A launch page opens in a lightbox. From here the buyer can log in (the flow then proceeds to the login page in a mini-browser) or sign up with PayPal, or pay as a guest.|
|Yes||DG opens the merchant review page in a lightbox, and a mask is applied over the underlying web page.|
New DG Merchants: Set
instant"for the best performance.
Existing DG Merchants: You can bypass the legacy flow's lightbox launch page by setting
expType, or leave your web page unchanged to maintain the current behavior.
Digital Goods Flows
This section shows examples of different Digital Goods flows. The first example shows the DG Instant flow (
expType set to "
instant") for a new buyer (or a buyer who didn't check the "remember me" box on the login page). The second example shows the same DG Instant flow for a returning buyer who checked the "remember me" box. The third example shows the legacy flow (
expType is unset) for a new buyer.
The buyer initiates all DG flows by clicking Pay with PayPal:
expTypevariable is set to
instantand the buyer is new: The DG flow opens the Log in to your PayPal account page in a mini-browser, with a mask over the underlying page:
From this page, the buyer can log in (optionally checking the "remember me" box for subsequent purchases if there is little risk of their account being misused), or cancel the transaction.
Important: Opting in to the remember me behavior does not guarantee that the buyer will not be asked to provide log-in credentials. Buyers without a PayPal account can sign up for one, or proceed as a guest and complete their purchase with a credit card.
Note: Guest checkout provides only the visual benefits of a digital goods payment. It does not reduce the payment steps.
After successfully logging in, the digital flow presents the You are about to pay page in a mini-browser:
If the buyer chooses Cancel, PayPal redirects the buyer's browser to the cancel URL specified in the
SetExpressCheckoutAPI operation's request message. If the buyer chooses Pay, the Thank you for using PayPal page appears in the mini-browser:
When the buyer clicks Close, PayPal redirects the buyer's browser to the return URL specified in the
SetExpressCheckoutAPI operation's request message.
expTypevarible is set to
instantand the buyer checked the remember me box: The digital goods flow skips the login screen and the flow proceeds directly to the payment page in a lightbox:
The rest of the flow proceeds as shown in the previous example, but the pages are displayed in the lightbox, instead of the mini-browser.
expTypevariable is unset and the buyer is new: The launcher page only appears if
expTypevariable is not set and the buyer has not previously checked the "remember me" box on the login page:
Other Payments Features That Digital Goods Supports
You can use digital goods with the following payments features:
- Recurring payments. Some Express Checkout fields are not relevant to the digital goods flows, and thus are not supported. See Features Not Supported With Digital Goods for details.
After Performing Digital Goods Transactions
After performing digital goods payments transactions, you can use PayPal API operations to perform the following back-office tasks:
- Issue refunds.
- Get transaction details.
- Search transactions.
Features Not Supported With Digital Goods
Digital goods does not support the following Express Checkout features.
- Physical goods Digital goods are digital media that the buyer downloads or accesses online.
- Shipping addresses Downloading electronic media only does not involve shipping addresses.
- Instant Update API The PayPal server calls your callback server to instantly update the PayPal pages based on shipping options changes the buyer selects.
- Parallel payments Parameter fields describe the details of up to 10 payments. Digital goods supports passing a value for one payment only.
- Immediate Payment Immediate Payment checks that you receive payment at the time the buyer commits to a purchase (instant payment methods only).
- Authorization and Capture API
Several fields in the Recurring Payments API and in the Reference Transaction API are not relevant for digital goods transactions and thus are not supported. Do not use the API fields in the following lists for digital goods operations.
Unsupported Fields in the Recurring Payments and Reference Transaction Name/Value Pair (NVP) APIs:
Unsupported Fields in the Recurring Payments and Reference Transaction SOAP APIs:
Other Digital Goods Caveats
Observe the following notes when integrating digital goods:
- Your website requires a P3P header if it is not directly integrating digital goods. If your site uses a hosted cart embedded in another merchant's site, you need a P3P header. For details about P3P, see Platform for Privacy Preferences (P3P) Project.
- Pass all the required Express Checkout API parameter fields in digital goods transactions. For details, see Integrating Digital Goods Payments With Express Checkout.