Invoice pdf plugin add useless information when paying by bank transfer

  • Posts: 16
  • Thank you received: 2
6 years 9 months ago #274226

-- 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.

Please Log in or Create an account to join the conversation.

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
6 years 9 months ago #274245

Hi,

You can remove the piece:

$paymentClass = hikashop_get('class.payment');
		$payment = $paymentClass->get($order->order_payment_id);
		if(!empty($payment->payment_params->information))
			echo $payment->payment_params->information;
in the file plugins/hikashop/attachinvoice/attachinvoice/invoice.php

The following user(s) said Thank You: Galle43

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 2
6 years 9 months ago #274296

PERFECT!!.

Thank you Nicolas

Last edit: 6 years 9 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.060 seconds
Powered by Kunena Forum