Hi,
I have over the last few months been TRYING to develop a PHP script to allow the company I work for to accept payments of any amount via our website. I had thought that the script would be relatively simple but as I have researched / learnt new things it has grown quite large and is now a little beyond my abilities.
If anyone is interested in helping me finishing off the last 20% I would be very grateful.
[b]The Brief
I have create a freely accessible HTML form that takes the user’s:
* name
* type of payment
To protect us from users adding too many zeros to their payment amount it queries them if they try to pay more than £500.
Once all this is done, it then sends all the info to WorldPay where they take all the credit card numbers etc and actually deal with the money (obviously the gathering of name / email address is useless at the moment but will hopefully be used in the future PLUS we forward them to WorldPay’s gateway).
The part I am having trouble with is sending the headers to WorldPay (I am currently using GET because I cannot get POST to work AT ALL).
I am not sure what to do with the Source Code, as it is 260 lines long (so far)..?
Also, because I use Dreamweaver’s template system, I need to send the headers after other HTML has been ‘executed :eek:’. I’m using ob_start but haven’t quite got it working yet ?