afd67 Posted October 8, 2016 Share Posted October 8, 2016 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 from 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 More sharing options...
tuk66 Posted October 10, 2016 Share Posted October 10, 2016 Changes in the invoice are quite small, so it could be a payment module that injects these texts. Link to comment Share on other sites More sharing options...
David Eschmeyer Posted November 18, 2016 Share Posted November 18, 2016 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 More sharing options...
attila729 Posted February 1, 2017 Share Posted February 1, 2017 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. Help me thx Link to comment Share on other sites More sharing options...
Pau111111 Posted March 27, 2017 Share Posted March 27, 2017 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. 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 More sharing options...
Logical IT Posted April 18, 2017 Share Posted April 18, 2017 unhooking the paypal module from the displayPDFInvoice hook will also work. 2 Link to comment Share on other sites More sharing options...
DJAd Posted April 26, 2017 Share Posted April 26, 2017 unhooking the paypal module from the displayPDFInvoice hook will also work. Hi I am having the same problem as the original poster. How do I got about doing this the way you mention? Link to comment Share on other sites More sharing options...
David Eschmeyer Posted April 26, 2017 Share Posted April 26, 2017 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 More sharing options...
DJAd Posted April 26, 2017 Share Posted April 26, 2017 Thanks David I just removed the hook and its fixed it. I'm still pretty new to all this but this forum is a great help. Link to comment Share on other sites More sharing options...
espacious Posted February 5, 2019 Share Posted February 5, 2019 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now