Jump to content

how to display gateway payment instructions in PDF?


Dusan

Recommended Posts

Hi,

 

One of my payment methods is Bank Transfer. In regards to that, is it posible to display the payment instructions which were added in the admin area to the PDF?

 

I know how to edit the invoicePDF.php, but don't know the name of that variable in the whmcs system so I could insert it.

 

Thanks.

 

Greets,

Dusan.

Link to comment
Share on other sites

I would like to no this to, ive been searching for about a week now, but can not find anything. I'd like to say how to pay (eg, display bank details etc) on the printable PDF invoice as i feel this is VERY important.

 

Many Thanks,

Nathaniel

Link to comment
Share on other sites

  • 5 months later...

The api doesnt look like it supports details of payment info in templates.

To add payment info to PDF I did this manually in the template lie this;

 

 

 

added this below ;

#Payment method
$pdf->SetFont('helvetica','',;
$pdf-> MultiCell(170,6,$_LANG["invoicesnotes"].": 
Bank Name: xxx
Payee Name: xxxx
Sort Code: xxx
Account Number: xxxx", 0,'L');

$pdf->Ln();

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