YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Requiring Fields and Adding Custom Ones Options
happydude
#1 Posted : Wednesday, October 15, 2003 6:55:48 PM
Rank: Starting Member

Groups: Registered

Joined: 10/15/2003
Posts: 3
Location: ,
I'm working on a site that collects campaign donations. Because of the laws I need to collect the donator's occupation and employer. Is there any way to have paypal collect this information? Also is there any way to require that fields are filled in? Thanks
Sponsor  
 
PayPalSteve
#2 Posted : Wednesday, October 15, 2003 7:18:40 PM
Rank: Starting Member

Groups: Registered

Joined: 8/18/2003
Posts: 56
Location: ,
PayPal does not collect this information, but you may provide text boxes for your customers to fill out prior to donating. Then you can have the pre-population of the fields fill in your PayPal payment screen. You can use pass through variables to capture the information that you are needing.

By pre-populating your customer's PayPal payment pages, your customers will not need to enter their information twice on two separate registration forms.

This enhancement allows advanced web developers the option of passing general registration information already provided by customers through a form on a seller's website, to PayPal payment pages.

While your customer's sign-up page will be pre-populated, it will still be editable. This enhancement is available for web developers familiar with HTML and knows how to post data.

To pass this information to the PayPal payment pages:

Post the variable name and the associated data to PayPal in HTML in the form of "variable name = value"

Change the cmd value to '_ext-enter' and add a new variable, 'redirect_cmd', whose value should be '_xclick'

To view the sample code, please follow these steps:

Click https://www.paypal.com/SELLMAN or copy and paste the entire link into the address bar

Click 'Pre-Populate Your Customer's PayPal Sign-Up'

Note: The Pre-population enhancement will not be provided in reverse fashion. We will not provide an option to pre-populate any information from our registration pages into the original website's registration forms.

You can check out working examples of this at http://www.iva.tech.nu/




Steven N.
PayPal Tech Support
PayPal, an eBay company
http://www.paypal.com/pdn
happydude
#3 Posted : Wednesday, October 15, 2003 10:45:06 PM
Rank: Starting Member

Groups: Registered

Joined: 10/15/2003
Posts: 3
Location: ,
What about using the custom field? How is that passed?
ron
#4 Posted : Thursday, October 16, 2003 9:02:23 AM
Rank: Starting Member

Groups: Registered

Joined: 11/24/2002
Posts: 2,004
Location: ,
Pretty simple - just have the input from the customer fill it in...

Please input name and organization -
<input type="text" name="custom" size="60" />

Or, put it into an options field...

<input type="hidden" name="on0" value="Name and Organization" />
Input name and organization -
<input type="text" name="os0" size="60" />

Ron.
happydude
#5 Posted : Thursday, October 16, 2003 1:46:05 PM
Rank: Starting Member

Groups: Registered

Joined: 10/15/2003
Posts: 3
Location: ,
Ron: Do you have a link explaining how those options fields work? Can there be more than one?

Thanks
ron
#6 Posted : Thursday, October 16, 2003 10:08:49 PM
Rank: Starting Member

Groups: Registered

Joined: 11/24/2002
Posts: 2,004
Location: ,
Dude,

What you are allowed to do (the fields you may use) are defined by PayPal. Their server looks for specific things - if you send it other than what it is looking for, it ignortes it. It is not a matter of creating extra field names, it is a matter of understanding what is there for you to use.

"Most" of it is explained in PayPal's shopping cart manual. Log onto the site (you do not even have to enter your password), and you may see the variable fields you have available...

http://www.paypal.com/cg...cl/rec/sc-intro-outside

Ron.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.302 seconds.