Jump to content

Modifying Invoice PDF


Brendonm

Recommended Posts

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?

Inv1.jpg

Inv2.jpg

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated