[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: payments from email

Hello Everyone,

As a followup to this email. For those of you that send out PDF invoices you can add a similar link by adding code similar to the following to your invoice.tex file.

\centerline{\href{https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=paypal_email_address&amount=<?lsmb total ?>&item_name=Invoice <?lsmb invnumber ?>&item_number=<?lsmb invnumber ?>&bn=business_name_without_spaces&no_shipping=1&currency_code=<?lsmb currency ?>}{Click here to pay invoice.}.}

Darren Wiebe

..hidden.. wrote:
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

<form target="_blank" action="https://www.paypal.com/cgi-bin/webscr";

<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="..hidden..">
<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">

Do not use the paypal button creator.
Insert your data for YourBuisnessNameWithNOspaces and

Email the invoice and use the html template.

Enjoy accepting plastic and getting paid faster but loosing a %.


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