2009

Table Of Contents
Integrating Your Web Site with Payflow Link (Advanced Integration)
Example of a Custom Integration
4
18 Payflow Link User’s Guide
<form method="POST" action="https://payflowlink.paypal.com">
<!-- The following fields are required: -->
<input type="hidden" name="LOGIN" value="Your LOGIN here">
<input type="hidden" name="PARTNER" value="Your PARTNER here">
<input type="hidden" name="AMOUNT" value="Total transaction amount here">
<input type="hidden" name="TYPE" value="Valid transaction type here">
<!-- See “Payflow Link Transaction Types” on page 65 for the list of valid
transaction types. -->
<!-- The following fields are optional--you can choose these or others: -->
<input type="hidden" name="DESCRIPTION" value="Order description here">
<input type="hidden" name="NAME" value="Billing name here">
<input type="hidden" name="ADDRESS" value="Billing address here">
<input type="hidden" name="CITY" value="Billing city here">
<input type="hidden" name="STATE" value="Billing state here">
<input type="hidden" name="ZIP" value="Billing zip here">
<input type="hidden" name="COUNTRY" value="Billing country here">
<input type="hidden" name="PHONE" value="Billing phone here">
<input type="hidden" name="FAX" value="Billing fax here">
<p>Enter your Customer ID Number <input type="text" name="USER1"
size="12"></p>
<p>Select the form of payment <select name="METHOD" size="1">
<option selected value="CC">Credit Card</option>
<p><input type="submit" value="Click Here to Purchase"></p>
</form>
NOTE: The example code shows a representative list of fields. You can further customize the
code provided in this example by using fields described in
Appendix B, “Submitting
Transaction Data to the Payflow Link Server.”
Passing Transaction Data to Payflow Link
If you are collecting transaction data on your forms, you must write a script that passes the
data to the Payflow Link HTML code.
Alternatively, you can collect data by changing the fields from hidden fields to text fields.
Instead of <input type="hidden"...>, use <input
type="text"...>. This creates
text boxes into which customers can enter information. The data is passed to PayPal when the
customer submits the order.