NetHosted Community
https://www.nethosted.co.uk/community/

PayPal Buttons & Collecting Extra Information
https://www.nethosted.co.uk/community/viewtopic.php?f=8&t=3267
Page 1 of 1

Author:  UserFriendly [ Mon Feb 14, 2011 6:35 pm ]
Post subject:  PayPal Buttons & Collecting Extra Information


Author:  welcome2 [ Mon Feb 14, 2011 7:21 pm ]
Post subject: 

There are at least two ways of dealing with this.
1) Put a form with the required details below the design selector.
Have this POST back to your site, where the details are stored and an order reference generated. Have the generated page contain the Paypal form including the order reference. This can be made to auto-submit using the javascript "onload" function, but make sure there's a submit button, just in case.

2) This is the method I use, originally written because the server we were on at the time didn't have php (years ago).
Paypal accept two free-text fields os0 and os1 (together with on0 and on1).
I have several fields needed (membership form), so I have two forms on the page. The first is the form they fill in (visible fields) but NO submit button.
The second form is the Paypal one, all fields are hidden except the submit button (which in this case is actually an image type, but this works as a submit).
When this is clicked, a short script concatenates the various fields and fieldnames into the two Paypal fields.
The information is then returned by Paypal.

You can see this .
The Family one is probably the best example, as it has more fields in it.

Author:  websak [ Mon Nov 26, 2012 4:31 pm ]
Post subject:  Paypal Help??

Hi there

I have a website where by I have a form with 3 fields name email and attachment. Is it possible to integrate paypal??

Stuart

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/