2009
Table Of Contents
- Payflow Link User’s Guide
- Contents
- Preface
- Introduction
- Configuring Payflow Link
- Integrating Your Web Site with Payflow Link (Basic Integration)
- Integrating Your Web Site with Payflow Link (Advanced Integration)
- Testing Payflow Link
- Activating Payflow Link
- Managing Payflow Link
- Integrating TeleCheck Transactions
- Transaction Responses
- Submitting Transaction Data to the Payflow Link Server
- About the Confirmation Email Messages
- Payflow Link Transaction Types
- Frequently Asked Questions
- Index
Payflow Link User’s Guide 17
4
Integrating Your Web Site with
Payflow Link (Advanced
Integration)
IMPORTANT: If you currently use Payflow Link and added a Fraud Protection Services
package, then you must change the Payflow Link URL in your HTML code.
Use:
https://payflowlink.paypal.com
The examples in this chapter use the Fraud Protection Services URL.
If you have HTML knowledge or Web development skills, you can create more customized
Payflow Link integrations by starting with the code described in this chapter.
This chapter discusses an example appropriate for a simple Web site (one used for donations,
single item purchases, and so on.) If your Web site is more complex (accommodates
functionality like multiple item purchases, taxes, shipping fees, and so on), PayPal
recommends that you get a shopping cart.
PayPal strongly recommends that before you implement the integration described in this
chapter, you familiarize yourself with Payflow Link operation by implementing the simple
integration described in
Chapter 3, “Integrating Your Web Site with Payflow Link (Basic
Integration).”
NOTE: Payflow Link enables your customers to process a single transaction amount. Payflow
Link does not calculate the transaction amount based on customer selections. To enable
customers to order multiple items or quantities, you must develop a solution that
calculates the total transaction amount based upon customer selections in your Web
store. Your code must then pass the total transaction amount to the Payflow Link server
as described in this chapter.
Example of a Custom Integration
You may choose to collect detailed transaction data on your Web store and then pass the
information to Payflow Link. Payflow Link accepts optional data fields that customize the
purchase process. This enables either of the following options:
z Collect all billing information on your forms and pass it to PayPal. The only data left for
the customer to enter (on the secure PayPal-hosted Credit Card Information form) is the
credit card information.
z Collect all billing and credit card information on your forms and pass the data to PayPal.
This enables you to disable all PayPal-hosted pages (except the required Receipt page).
Example HTML Code
The following example collects purchase data on your form. When a customer enters data and
clicks the button, the code sends the data to the Payflow Link server and opens the PayPal-
hosted Credit Card Information form.