I had installed the paid modification that seesaw has splendidly outlined for us all - should be a main feature in my humble opinion :)
I was just wanting the template to automatically grab the Name & Email address from the biller record, without it having to be hardcoded. Make it more of a true template.
Here is the original code :-
{if $invoice.owing == 0.00 }--- paid with thanks ---
{else}
'; {/php}Hi Richard
Thanks for the comments - glad someone else is using it...
This should do it
{php} print '<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business='.$biller[email].'&item_name='.$customer[name].' -
Invoice No: ' . $invoice[id].'&amount='.$ppamount.'&no_shipping=0&no_note=1¤cy_code=GBP&lc=GB&bn=PP%2dBuyNowBF&charset=UTF%2d8"
target="_blank"><img src="http://www.it-repairs.com/pppay.gif" border=0></a>'; {/php}
You may also need to update the following at the start of your template
after
global $customer;
addglobal $biller;
Chris
It looks like you're new here. If you want to get involved, click one of these buttons!