webberoo Posted February 23, 2012 Share Posted February 23, 2012 I like the current look and feel of the pdf invoice. However I would like to have a button so clients can click and pay via paypal without having to log into my site. Is there any documentation as to how I can achieve this? Thanks 0 Quote Link to comment Share on other sites More sharing options...
webberoo Posted February 23, 2012 Author Share Posted February 23, 2012 OK so i did some more poking around and I found an old post via google search (it didn't come up via forum search strange?). Here is what I am using in invoicepdf.tpl: $pdf->SetFont('helvetica','B',10); $pdf->Cell(0,0,"To pay with PayPal (using either a Credit Card or your PayPal account balance), login here:",0,1,'L','0'); $pdf->SetFont('helvetica','',10); $pdf->Cell(0,0,"http://www.YOURDOMAIN.com/WHMCSFOLDER/viewinvoice.php?id=".$invoicenum,0,1,'L','0'); Hope this helps someone out in the future! 0 Quote Link to comment Share on other sites More sharing options...
lcws Posted March 21, 2012 Share Posted March 21, 2012 Can you explain in more detail how to do this? Thanks for your help 0 Quote Link to comment Share on other sites More sharing options...
lcws Posted March 24, 2012 Share Posted March 24, 2012 Got it no need to explain 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.