Brendonm Posted September 30, 2020 Share Posted September 30, 2020 Good day, I'm having troubles with modifying my PDF invoices (invoicepdf.tpl). Currently my PDF invoices display as just UNPAID in the top right corner of the PDF - see attached image INV1.jpg, and on the view invoice it displays UNPAID and the pay now button - see attached image INV2.jpg. I want to add the Pay Now button to the invoice that is sent via PDF just like it displays on the View Invoice in client area (viewinvoice.tpl). How can I accomplish this? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted September 30, 2020 Share Posted September 30, 2020 7 hours ago, Brendonm said: How can I accomplish this? with difficulty! sadly, WHMCS generates the "Pay Now" button code internally based on the invoice details and the gateway chosen.... that method used will be coded in encrypted files and will not be automatically available in the PDF template... only the HTML invoice. it's probably worth adding that often these are HTML forms, and whilst it is simple to add them to website pages, it would be more difficult to do this within a PDF. 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.