Jump to content


Photo

Data Collection - Front End Process


  • This topic is locked This topic is locked
1 reply to this topic

#1 bameyer

bameyer

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 23 November 2002 - 11:03 PM

I would like to set up a form on my page to collect customer information and save it (preferably in an Excel spreadsheet) before sending the customer to Paypal for purchase completion. I do get some of the information I need from the email confirmation but not all of the required data. I use FrontPage 2000 to create my pages on my server. After collecting my data I also need to generate the HTML page with the tags to call PayPal. The problem is I am not a programmer but I do some limited coding. The work I am doing is for a non-profit agency so I am hoping for some code that is available free of charge but I have been searching the Internet but I ahven't found any. Am I missing something? Is there an easy way to do this with the tools I have already? Any suggestions would be appreciated.

Thank You,
Bameyer

#2 paypal_pb

paypal_pb

    Advanced Member

  • Members
  • 2,960 posts

Posted 25 November 2002 - 11:00 AM

You could consider using PayPal "pass-through" fields to collect this data which would avoid you having to program anything. For example:

<form name="form" method="post" action="https://www.paypal.com/cgi-bin/webscr">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="payment@mysite.com">
<input type="hidden" name="item_name" value="Contribution">
<input type="hidden" name="on0" value="Employer">
<input type="hidden" name="on1" value="Occupation">
<table cellpadding="4">
<tr>
<td align="right">First Name:</td>
<td><input type="text" name="first_name" size="10"></td>
</tr>
<tr>
<td align="right">Last Name:</td>
<td><input type="text" name="last_name" size="10"></td>
</tr>
<tr>
<td align="right">Employer:</td>
<td><input type="text" name="os0" size="20"> (required)</td>
</tr>
<tr>
<td align="right">Occupation:</td>
<td><input type="text" name="os1" size="20"> (required)</td>
</tr>
<tr>
<td align="right">Phone:</td>
<td><input type="text" name="item_number" size="10"></td>
</tr>
<tr>
<td align="right">Amount:</td>
<td>$ <input type="text" name="amount" size="6"> (limit $1000)</td>
</tr>

<tr>
<td colspan="2" align="center"><input type="submit" name="button" value=" Contribute "></td>
</tr>
</table>
</form>

Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users