Just wanted to share what i did to for my paypal integration.
It works like this: User filles out form fields. Presses Submit button and a mail is sent to site admin. Then a page with a By now button and some text are shown.
To complete the payment the user presses the Buy now button and paypal with the correct values are launched.
My customer is selling digital reports, and the amount is always one and there is a different price for each report. I did not need a chart solution, only a Paypal buy now button.
I created the html form and included in chronoforms. At the "form code" tab on "On submit code - after sending emails" i just pasted in the following: (this is pasted on each report where it has different amount and item_name)
- Code: Select all
Press the "Buy Now" button below to complete the transaction: <br />
<br />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="post@domain.com">
<input type="hidden" name="item_name" value="Astro report">
<input type="hidden" name="amount" value="12.95">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="return" value="http://www.domain.com">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but23.gif" name="submit" alt="Make payments with payPal - it's fast, free and secure!">
<img alt=""
src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>


