An attempt at modifying the sign-up form to add VAT number and e-mail address verification.
Asks the user if he is a private individual or company
Hides company name input field if private individual (to prevent the user entering things like "-" or "NA", which can cause problems with domain registrations.)
If the user is an European company, he can enter his VAT number and press "validate", the system will then verify the number and fill in the company name and address information (if available) automatically.
If a valid EU VAT number is entered, and the customer is in a different country than you, he will not be charged VAT (reverse charge procedure)
The e-mail address is verified by sending an 8 character verification code to it, that must be entered by the user to proof the address is correct.
Requires PHP SOAP extension (to communicate with the European Union's VIES VAT number validation service), and that the default country in the Blesta settings is set to your own company location.
Diff (file changes): http://www2.noc-ps.com/dl/blesta-3.1-signup-form.diff
SQL (extra e-mail template): http://www2.noc-ps.com/dl/blesta-3.1-signup-form.sql