Jump to content

Upgrade 1.6.1.7 problem with invoice PDF template !


Recommended Posts

Hi,

After the update to 1.6.1.7 I find of my invoice PDF template  new data:

Bank name, Account holder name, IBAN BIC ?

See photo.

How to remove this data frompost-365049-0-96422000-1475928009_thumb.jpg the invoice? I try to replace the file : mywebsite / PDF  by a older version and same problem !

Thank you for your help.

 

Dom.

Link to comment
Share on other sites

  • 1 month later...

that is in the paypal module, it shows up even if people use authorize.net or others... you can remove it from the end of paypal.php

in version 3.11.1 it would be lines 

2265 - 2276

 

change

$tab = '<table style="border: solid 1pt black; padding:0 10pt">
    <tr><td></td><td></td></tr>
    <tr><td><b>'.$this->l('Bank name').'</b></td><td>'.$information['recipient_banking_instruction']['bank_name'].'</td></tr>
    <tr><td><b>'.$this->l('Account holder name').'</b></td><td>'.$information['recipient_banking_instruction']['account_holder_name'].'</td></tr>
    <tr><td><b>'.$this->l('IBAN').'</b></td><td>'.$information['recipient_banking_instruction']['international_bank_account_number'].'</td></tr>
    <tr><td><b>'.$this->l('BIC').'</b></td><td>'.$information['recipient_banking_instruction']['bank_identifier_code'].'</td></tr>
    <tr><td></td><td></td></tr>
    <tr><td><b>'.$this->l('Amount due / currency').'</b></td><td>'.$information['amount']['value'].' '.$information['amount']['currency'].'</td></tr>
    <tr><td><b>'.$this->l('Payment due date').'</b></td><td>'.$information['payment_due_date'].'</td></tr>
    <tr><td><b>'.$this->l('reference').'</b></td><td>'.$information['reference_number'].'</td></tr>
    <tr><td></td><td></td></tr>
</table>';

to

$tab = '';
Link to comment
Share on other sites

  • 2 months later...

 

that is in the paypal module, it shows up even if people use authorize.net or others... you can remove it from the end of paypal.php

in version 3.11.1 it would be lines 

2265 - 2276

 

change

$tab = '<table style="border: solid 1pt black; padding:0 10pt">
    <tr><td></td><td></td></tr>
    <tr><td><b>'.$this->l('Bank name').'</b></td><td>'.$information['recipient_banking_instruction']['bank_name'].'</td></tr>
    <tr><td><b>'.$this->l('Account holder name').'</b></td><td>'.$information['recipient_banking_instruction']['account_holder_name'].'</td></tr>
    <tr><td><b>'.$this->l('IBAN').'</b></td><td>'.$information['recipient_banking_instruction']['international_bank_account_number'].'</td></tr>
    <tr><td><b>'.$this->l('BIC').'</b></td><td>'.$information['recipient_banking_instruction']['bank_identifier_code'].'</td></tr>
    <tr><td></td><td></td></tr>
    <tr><td><b>'.$this->l('Amount due / currency').'</b></td><td>'.$information['amount']['value'].' '.$information['amount']['currency'].'</td></tr>
    <tr><td><b>'.$this->l('Payment due date').'</b></td><td>'.$information['payment_due_date'].'</td></tr>
    <tr><td><b>'.$this->l('reference').'</b></td><td>'.$information['reference_number'].'</td></tr>
    <tr><td></td><td></td></tr>
</table>';

to

$tab = '';

 

 

Hi mate, i want that bank field complete with data bank.. example

 

Bank: HSBC

IBAN: XXXXXXXXX

Address: XXXXXX

 

 

while my unvoice is empty as this my pic.

 

32470925411_0899a3d48a_b.jpg

 

 

Help me thx

Link to comment
Share on other sites

  • 1 month later...

Hi mate, i want that bank field complete with data bank.. example

 

Bank: HSBC

IBAN: XXXXXXXXX

Address: XXXXXX

 

 

while my unvoice is empty as this my pic.

 

32470925411_0899a3d48a_b.jpg

 

 

Help me thx

First, change to $tab = ''and then go to Orders-->Bills (Facturas) and write your information into the free legal text row. 

Saludos.

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

as Logical IT said...search module positions for "displaypdfinvoice" you may need to check the checkbox to show non positional hooks... once you find displaypdfinvoice then unhook paypal from it with the button.  

 

My other method is really only if you ever need that box there in paypal in the future and want to put other info.  Logical IT's solution is easiest and quickest though.

Link to comment
Share on other sites

  • 1 year later...

I know the post is a bit old. I have a same problem with PS 1.7.5

I understand i can remove Paypal from the hook, and it works, but i want those data to be written. How can i achieve that?

In Paypal i did't found where i can insert the bank data, i also tried to put all those text in Orders-->Bills (Facturas) and write your information into the free legal text row, like Pau111111 said, but how can i insert dinamic fields in that free legal text row? eg. to have The total price and reference always automaticaly updated.

Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...