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

#   Problem with setting payment costs

##

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

Less More

- Posts: 90
- Thank you received: 2
-
-

10 years 6 months ago [\#241308](#241308) by [gielhier](/forum/user/9811-gielhier "View gielhier's Profile")  *[Problem with setting payment costs](/forum/27-checkout/884750-problem-with-setting-payment-costs#241308 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.1 -- Error-message(debug-mod must be tuned on) -- : n/a  Hello, I'm using Hikashop Business and encounter the following problem: - I have set payment costs for any order below €10.00 (&quot;Max price: 10.00&quot; in config) - I have set shipping costs of €6.95 The problem is that Hikashop counts the shippings costs together with the order value to determine the payment costs.  Example: - My order value is €5.00 - Shipping cost: € 6.95 - TOTAL: € 11.95 Hikashop says: No payment costs BUT: the order value is below €10.00, so payments costs need to be calculated!  I hope I make myself clear. How can I fix this? Thanks in advance.")* was created by *[gielhier](/forum/user/9811-gielhier "View gielhier's Profile")*

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1
-- Error-message(debug-mod must be tuned on) -- : n/a

Hello,
I'm using Hikashop Business and encounter the following problem:
- I have set payment costs for any order below €10.00 ("Max price: 10.00" in config)
- I have set shipping costs of €6.95
The problem is that Hikashop counts the shippings costs together with the order value to determine the payment costs.

Example:
- My order value is €5.00
- Shipping cost: € 6.95
- TOTAL: € 11.95
Hikashop says: No payment costs
BUT: the order value is below €10.00, so payments costs need to be calculated!

I hope I make myself clear.
How can I fix this?
Thanks in advance.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NDc1MC1wcm9ibGVtLXdpdGgtc2V0dGluZy1wYXltZW50LWNvc3RzP3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14326
-
-

10 years 6 months ago [\#241310](#241310) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Problem with setting payment costs](/forum/27-checkout/884750-problem-with-setting-payment-costs#241310 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.1 -- Error-message(debug-mod must be tuned on) -- : n/a  Hello, I'm using Hikashop Business and encounter the following problem: - I have set payment costs for any order below €10.00 (&quot;Max price: 10.00&quot; in config) - I have set shipping costs of €6.95 The problem is that Hikashop counts the shippings costs together with the order value to determine the payment costs.  Example: - My order value is €5.00 - Shipping cost: € 6.95 - TOTAL: € 11.95 Hikashop says: No payment costs BUT: the order value is below €10.00, so payments costs need to be calculated!  I hope I make myself clear. How can I fix this? Thanks in advance.")*

Hi,

That's how it is supposed to be. So I can't give a fix that we would include on our end.
It's normal that the shipping fees are counted for the restrictions on the payment methods.

You'll have to add the line: Code:

$price = $order-&gt;full_total-&gt;prices[0]-&gt;price_value_without_shipping_with_tax;

before the line: Code:

if(!empty($method-&gt;payment_params-&gt;payment_min_price) &amp;&amp; hikashop_toFloat($method-&gt;payment_params-&gt;payment_min_price) &gt; $price) {

in the file administrator/components/com_hikashop/helpers/helper.php and it should work like you want.

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

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

Less More

- Posts: 90
- Thank you received: 2
-
-

10 years 5 months ago [\#241451](#241451) by [gielhier](/forum/user/9811-gielhier "View gielhier's Profile")  Replied by *[gielhier](/forum/user/9811-gielhier "View gielhier's Profile")* on topic *[Problem with setting payment costs](/forum/27-checkout/884750-problem-with-setting-payment-costs#241451 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.1 -- Error-message(debug-mod must be tuned on) -- : n/a  Hello, I'm using Hikashop Business and encounter the following problem: - I have set payment costs for any order below €10.00 (&quot;Max price: 10.00&quot; in config) - I have set shipping costs of €6.95 The problem is that Hikashop counts the shippings costs together with the order value to determine the payment costs.  Example: - My order value is €5.00 - Shipping cost: € 6.95 - TOTAL: € 11.95 Hikashop says: No payment costs BUT: the order value is below €10.00, so payments costs need to be calculated!  I hope I make myself clear. How can I fix this? Thanks in advance.")*

Thank you, that works!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NDc1MC1wcm9ibGVtLXdpdGgtc2V0dGluZy1wYXltZW50LWNvc3RzP3RtcGw9bWFya2Rvd24=) 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.057 seconds

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