E-Commerce With Verisign's Payflow Link, by Kelly Brown
Volume 3, Issue 6

Listing 1

<html>
<head>
       <title>Purchase</title>
</head>
<body bgcolor="white">
<div align="center">
<h2>Purchase Item</h2>
</div>
<P>
<div align="center">
<TABLE border=1>
<TR>
<TH>Item</th>
<TH>Price</th>
</tr>
<TD>Item 1</td>
<TD>$100</td>
</table>
<form method="POST"
action="https://payflowlink.verisign.com/payflowlink.cfm">
<input type="hidden" name="LOGIN" value="Your Login">
<input type="hidden" name="PARTNER" value="verisign">
<input type="hidden" name="AMOUNT" value="100">
<input type="hidden" name="TYPE" value="S">
<input type="hidden" name="DESCRIPTION"
  value="Sample payflow link transaction">
<input type="hidden" name="USER1" value="Item 1">
<input type="submit" value="Click here to Purchase">
</form>
</div>
</body>
</html>


Listing 2
<CFQUERY Name="insertorder" Datasource="Payflow">
  insert into purchase
     (name,address,city,state,zip,email,phone,
      amount,item,payflow_id)
  values
         ('#Form.name#','#Form.address#','#Form.city#',
          '#Form.state#','#Form.zip#','#Form.email#',
          '#Form.phone#',#Form.amount#,'#Form.user1#',
          '#Form.pnref#')
</CFQUERY>
Thank you for your purchase.