Attached there is a solution to integrate Paypal.
Onclick it submits the form an opens a new window
with Paypal. Note: If customer cancel paying inside
Paypal, order is sent already. In this case a special
mail with information about this is sent (oops.php).
If payment successfully completed an email is sent
with information (thanks.php).
I'm not really happy with this soltuion, because it
works with Javascript. But it works.
Have a look into form_paypal* to set the right values
for Paypal (account and URLs). Please have a look at
Paypal docs, which field has which function.
Dont change order of lines in begin of file:
1st: <?php
2nd: ## a name, but have to exists
3rd: Have to contain the complete opening <form> tag
with ## on begin.
4th: Have to contain the complete HTML code for
submit button with ## on begin. Graphics you find at
Paypal pages.
All other files replace existing.
files to include Paypal