Forum Moderators: buckworks
I have a client who provides specialised training for people. She offers one day training courses and takes bookings for these through an online form which asks applicants to provide some required information before booking a course. When they book the course they can pay online via Paypal but there are three or four options for payment.
When clients submit the online application they are taken to the payment area and asked to pay the appropriate amount using Paypal. The payment amount is left open since it could be one of three options. The applicant is just asked to pay the appropriate amount. Clearly this is no good and applicants often pay the wrong amount. Is there an easy way that Paypal can be attached to a form and the payment amount adjusted dependent on what the client has selected?
I appreciate that this would probably be quite easy for a Paypal developer but I don't do coding myself. Does Paypal or any of the other systems offer anything that can handle this? Can anyone suggest a better way of doing it?
"If you want to get the full course, pay $50 now.
If you want to get the half course, pay $25 now."
Beside each line would be a PayPal payment button for the appropriate amount. I would get the registration form completed before payment because some people don't click on the "Continue" link PayPal provides and would never make it back to the site to complete a form.
FarmBoy
https: //www.paypal.com/cgi-bin/webscr
All you have to do is add the correct query strings:
cmd=_xclick
business=your@email.adress
item_name=itemname
amount=00.00
So in the end it looks like this:
https: //www.paypal.com/cgi-bin/webscr?cmd=_xclick&item_name=itemname...
and so on
There is a documentation off all possible variables somewhere on the Paypal homepage.
Anyone with some basic knowledge of a scripting language like PHP or ASP should be able to get the information from the form and redirect to Paypal. It's also possible to transfer the information in POST variables.