Return to Snippet

Revision: 44370
at April 10, 2011 05:15 by creativeboulder

Initial Code
$balance = invoice_balance($invoice) ;
$invoicenum = invoice_id($invoice) ; 
$paypalemail = "[email protected]" ;
$link = ("$paypalemail&amount=$balance&tax=0&item_name=Invoice $invoicenum");
echo "<p>Pay securely with credit or debit card - <a href='$link' target=_blank >Click Here</p>";
echo '<img src=""" border=0>';

Initial URL

Initial Description
_PHP Snippet for Paying via Paypal_

This snippet is designed for most open source invoicing applications that you have control over the template setup. There multiple free or open source PHP applications that you can download server-side and implement this snippet at the bottom or very top of the template. Work great on *MyClientBase*.

Initial Title
PHP Pay via Paypal (for most Open Source Invoicing Apps)

Initial Tags
php, api

Initial Language