As a follow up to my original question under this same subject dated June 12 to the devel list. Turns out a user can add one. How I added a paypal "buy it now button"
This will add a button that pays an invoice total using your merchant paypal account. We use project numbers to identify different contracting jobs for the same customer so substitute you own variable there or remove the projectnumber_1 line. This does not allow a customer to create an order just pay a bill for work you already performed etc... Edit the invoice.html file in templates. Append this code to the end of your invoice.html <br> <form target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="[email protected]"> <input type="hidden" name="amount" value="<?lsmb total ?>"> <input type="hidden" name="item_name" value="<?lsmb projectnumber_1 ?>"> <input type="hidden" name="item_number" value="<?lsmb invnumber ?>"> <input type="hidden" name="invoice" value="<?lsmb invnumber ?>"> <input type="hidden" name="bn" value="YourBuisnessNameWithNOspaces"> <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"> Tips: Do not use the paypal button creator. Insert your data for YourBuisnessNameWithNOspaces and [email protected] Email the invoice and use the html template. Enjoy accepting plastic and getting paid faster but loosing a %. -Turtle ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Ledger-smb-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ledger-smb-users
