- Posts: 16
- Thank you received: 2
Invoice pdf plugin add useless information when paying by bank transfer
9 years 3 months ago #274226
by Galle43
-- HikaShop version -- : 3.1.1.
-- Joomla version -- : 3.7.2
-- PHP version -- : 5.6.29
-- Browser(s) name and version -- : Firefox updated
Hi to all Hikashop team:
I have just bought pdf plugin and it works really nice out of the box. Great timesaver.
Unfortunately I have discovered that, when paying using bank transfer, pdf plugin add at the end of the page the information about banks accounts displayed when completing checkout using this payment method. It only happens with bank accounts.
How could I remove only that information?.
Thanks a lot in advanced.
-- Joomla version -- : 3.7.2
-- PHP version -- : 5.6.29
-- Browser(s) name and version -- : Firefox updated
Hi to all Hikashop team:
I have just bought pdf plugin and it works really nice out of the box. Great timesaver.
Unfortunately I have discovered that, when paying using bank transfer, pdf plugin add at the end of the page the information about banks accounts displayed when completing checkout using this payment method. It only happens with bank accounts.
How could I remove only that information?.
Thanks a lot in advanced.
Please Log in or Create an account to join the conversation.
9 years 3 months ago #274245
by nicolas
Replied by nicolas on topic Invoice pdf plugin add useless information when paying by bank transfer
Hi,
You can remove the piece:
in the file plugins/hikashop/attachinvoice/attachinvoice/invoice.php
You can remove the piece:
Code:
$paymentClass = hikashop_get('class.payment');
$payment = $paymentClass->get($order->order_payment_id);
if(!empty($payment->payment_params->information))
echo $payment->payment_params->information;
The following user(s) said Thank You: Galle43
Please Log in or Create an account to join the conversation.
9 years 3 months ago - 9 years 3 months ago #274296
by Galle43
Replied by Galle43 on topic Invoice pdf plugin add useless information when paying by bank transfer
PERFECT!!.
Thank you Nicolas
Thank you Nicolas
Last edit: 9 years 3 months ago by Galle43.
The following user(s) said Thank You: Veli
Please Log in or Create an account to join the conversation.
Time to create page: 0.053 seconds