Form and Payment

nickybutler 15 Jan, 2011
I have set up a form.
Which has a drop down for the number of people.

We charge:
* Group of up to 12. €234 (€19.50 each)
* Group of up to 16. €296 (€18.50 each)
* Group of up to 20. €350 (€17.50 each)
* Group of up to 24. €396 (€16.50 each)
* Group of up to 28. €434 (€15.50 each)
* Group of up to 32. €480 (€15.00 each)
* Group of up to 40. €580 (€14.50 each)
* Group of up to 48. €672 (€14.00 each)
* Group of up to 56. €672 (€13.50 each)

Is this possible to tie it into a paypal? Where if the person selects for instance 30 people they will be charged 30 people X €15.50 = €310.00. So the total will be €310.00 and they will be offered a choice to a) pay a deposit maybe 25% of the fee or the full amount 100%.
GreyHead 17 Jan, 2011
Hi nickybutler,

You can do this either (a) by using JavaScript to calculate the amount and show it in the form and set it as the value of a form input; or (b) by calculating it after submission in the onSubmit before box.

Either way once it's in the form results you can use the Redirect plug-in to transfer the user to PayPal to pay the fee.

Bob
This topic is locked and no more replies can be posted.