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
Submitting Transaction Data to the Payflow Link Server
Collecting Customer Transaction Data, Option 1
B
48 Payflow Link User’s Guide
Collecting Customer Transaction Data, Option 1
Using the Payflow Link Order Form
You can use the Payflow Link Order form to collect transaction data from the customer. This
default configuration is described in
Chapter 3, “Integrating Your Web Site with Payflow Link
(Basic Integration).” This configuration minimizes the data that you must collect at your site
and pass to PayPal.
NOTE: One significant benefit of using this configuration is that you do not have to invest in
the security infrastructure required to accept account information (credit card number
and expiration date) at your site—PayPal performs the secure transfer of this data.
You specify the fields that appear on the Order form by selecting them in the Configuration
page.
For this case, the minimum set of data that you must Post to Payflow Link is described in
“Data That You Must Pass if You Use Payflow Link’s Order Form” on page 49. In addition,
you can pass any of the data described in “Optional Transaction Data” on page 52.
Pre-populating Order Form Fields
To improve your customer’s experience, you may wish to populate the Order form with
information that your site has already collected. You can pre-populate any Order form field by
using the HTML Post method to send the associated name/value pair to the Payflow Link
server. In this example, you populate the Total
Amount (a required value), Name, Address,
and City fields:
<form method="POST" action="https://payflowlink.paypal.com">
<input type="hidden" name="LOGIN" value="BeachBums">
<input type="hidden" name="PARTNER" value="reseller_name">
<input type="hidden" name="TYPE" value="S">
<input type="hidden" name="AMOUNT" value="12.00">
<input type="hidden" name="NAME" value="Tina Johnson">
<input type="hidden" name="ADDRESS" value="123 Main St.">
<input type="hidden" name="CITY" value="Tahoma">
<input type="submit" value="Buy">
</form>
As a result, the values appear in the Order form (the card number and expiration date values
were collected by the Credit Card Information page):