[Skip to main content](#vessel-content)

#   Payment Method description price does not inc. VAT

##

- **[eileensemporium](/forum/user/37550-eileensemporium "View eileensemporium's Profile")**
- [![eileensemporium's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/37550-eileensemporium "View eileensemporium's Profile") Topic Author
- [ Offline](/forum/user/37550-eileensemporium)

Less More

- Posts: 54
- Thank you received: 0
-
-

10 years 5 months ago [\#242982](#242982) by [eileensemporium](/forum/user/37550-eileensemporium "View eileensemporium's Profile")  *[Payment Method description price does not inc. VAT](/forum/29-payment-methods/885068-payment-method-description-price-does-not-inc-vat#242982 "-- HikaShop version -- : HikaShop Business 2.6.1 &#91;1602070724&#93;  Started a new topic for this as it appears to have got 'lost'  I am adding a surcharge for some payment methods:-  The price next to the payment description excludes VAT but the checkout correctly shows VAT, can it be made to display vat? I presume I need to edit payments.php around line 128?  Thanks Steve")* was created by *[eileensemporium](/forum/user/37550-eileensemporium "View eileensemporium's Profile")*

-- HikaShop version -- : HikaShop Business 2.6.1 [1602070724]

Started a new topic for this as it appears to have got 'lost'

I am adding a surcharge for some payment methods:-

The price next to the payment description excludes VAT but the checkout correctly shows VAT, can it be made to display vat? I presume I need to edit payments.php around line 128?

Thanks Steve

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODUwNjgtcGF5bWVudC1tZXRob2QtZGVzY3JpcHRpb24tcHJpY2UtZG9lcy1ub3QtaW5jLXZhdD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

10 years 5 months ago [\#242995](#242995) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Payment Method description price does not inc. VAT](/forum/29-payment-methods/885068-payment-method-description-price-does-not-inc-vat#242995 "-- HikaShop version -- : HikaShop Business 2.6.1 &#91;1602070724&#93;  Started a new topic for this as it appears to have got 'lost'  I am adding a surcharge for some payment methods:-  The price next to the payment description excludes VAT but the checkout correctly shows VAT, can it be made to display vat? I presume I need to edit payments.php around line 128?  Thanks Steve")*

Hi,

Yes, if you look there, you can see that the system can display payment fees with taxes or without. It depends on the "show taxed prices" setting of the HikaShop configuration. Code:

if($pt &gt; 0) $price_text .= $this-&gt;currencyHelper-&gt;format($method-&gt;payment_price_with_tax,$method-&gt;payment_params-&gt;payment_currency); if($pt == 2) $price_text .= JText::_('PRICE_BEFORE_TAX'); if($pt == 2 &#124;&#124; $pt == 0) $price_text .= $this-&gt;currencyHelper-&gt;format($method-&gt;payment_price,$method-&gt;payment_params-&gt;payment_currency);

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODUwNjgtcGF5bWVudC1tZXRob2QtZGVzY3JpcHRpb24tcHJpY2UtZG9lcy1ub3QtaW5jLXZhdD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[eileensemporium](/forum/user/37550-eileensemporium "View eileensemporium's Profile")**
- [![eileensemporium's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/37550-eileensemporium "View eileensemporium's Profile") Topic Author
- [ Offline](/forum/user/37550-eileensemporium)

Less More

- Posts: 54
- Thank you received: 0
-
-

10 years 5 months ago [\#243750](#243750) by [eileensemporium](/forum/user/37550-eileensemporium "View eileensemporium's Profile")  Replied by *[eileensemporium](/forum/user/37550-eileensemporium "View eileensemporium's Profile")* on topic *[Payment Method description price does not inc. VAT](/forum/29-payment-methods/885068-payment-method-description-price-does-not-inc-vat#243750 "-- HikaShop version -- : HikaShop Business 2.6.1 &#91;1602070724&#93;  Started a new topic for this as it appears to have got 'lost'  I am adding a surcharge for some payment methods:-  The price next to the payment description excludes VAT but the checkout correctly shows VAT, can it be made to display vat? I presume I need to edit payments.php around line 128?  Thanks Steve")*

Tried that code but it killed the site Code:

$price_text .= $this-&gt;currencyHelper-&gt;format($method-&gt;payment_price_with_tax,$method-&gt;payment_params-&gt;payment_currency);

Even killed it on its own

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODUwNjgtcGF5bWVudC1tZXRob2QtZGVzY3JpcHRpb24tcHJpY2UtZG9lcy1ub3QtaW5jLXZhdD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

10 years 5 months ago [\#243754](#243754) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Payment Method description price does not inc. VAT](/forum/29-payment-methods/885068-payment-method-description-price-does-not-inc-vat#243754 "-- HikaShop version -- : HikaShop Business 2.6.1 &#91;1602070724&#93;  Started a new topic for this as it appears to have got 'lost'  I am adding a surcharge for some payment methods:-  The price next to the payment description excludes VAT but the checkout correctly shows VAT, can it be made to display vat? I presume I need to edit payments.php around line 128?  Thanks Steve")*

Hi,

I'm not sure what you mean ?
I said in my previous message that there is already that code in the payment view file to display the taxed or untaxed payment fee based on the HikaShop configuration.
So there is no code to add.
You can potentially remove some pieces of that code, but nothing to add.
For example, removing all the code I talked about an replacing it by just:
$price_text .= $this-&gt;currencyHelper-&gt;format($method-&gt;payment_price_with_tax,$method-&gt;payment_params-&gt;payment_currency);
would display the taxed payment fee regardless of the configuration.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODUwNjgtcGF5bWVudC1tZXRob2QtZGVzY3JpcHRpb24tcHJpY2UtZG9lcy1ub3QtaW5jLXZhdD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.048 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
