I have a very basic form, that is simply a bunch of HTML input fields and radio/checkboxes to determine what the customer would like to sign up for (a subscription)
What I'm looking to do, is once the user has entered all the information, I'd like to have the following:
- Validate the form based on some basic rules (input fields required)
- Once it has passed validation I need the following:
- Connect with SagePay using the 'Server' option ([url removed, login to view]) and allow users to pay for what they have selected
- If possible, insert the transaction into my database, to include, transactionID and payment date
I can provide the source that I have so far of the HTML page. Currently I do not have SagePay setup, but If this could be left in the script, i.e. a place where I can replace the developers details with my own, then that would be great!