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

#   Wrong Moneybookers notificaiton

##

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

Less More

- Posts: 48
- Thank you received: 0
-
-

15 years 1 month ago [\#26987](#26987) by [vasjaf](/forum/user/2368-vasjaf "View vasjaf's Profile")  *[Wrong Moneybookers notificaiton](/forum/2-general-talk-about-hikashop/26987-wrong-moneybookers-notificaiton#26987 "Hi,  when the amount (0.69€) is paid, I get notification: Subject: &quot;Moneybookers payment notification refused:invalid amount&quot;  and message: &quot;Hello, A Moneybookers notification was refused because the amount received (0.69EUR) is different from the order amount (69EUR) ...&quot;  Something is wrong with the coma. The amount 0.69EUR was regularly paid and the money got to Moneybookers account. The problem is just with the notification and cancellation of payment in Hikashop.  I have the 1.5.3 version. Is this solved in 1.5.4 ?")* was created by *[vasjaf](/forum/user/2368-vasjaf "View vasjaf's Profile")*

Hi,

when the amount (0.69€) is paid, I get notification:
Subject: "Moneybookers payment notification refused:invalid amount"

and message:
"Hello,
A Moneybookers notification was refused because the amount received (0.69EUR) is different from the order amount (69EUR)
..."

Something is wrong with the coma. The amount 0.69EUR was regularly paid and the money got to Moneybookers account.
The problem is just with the notification and cancellation of payment in Hikashop.

I have the 1.5.3 version. Is this solved in 1.5.4 ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzI2OTg3LXdyb25nLW1vbmV5Ym9va2Vycy1ub3RpZmljYWl0b24/dG1wbD1tYXJrZG93bg==) 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: 86556
- Thank you received: 14305
-
-

15 years 1 month ago -  15 years 1 month ago [\#26991](#26991) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Wrong Moneybookers notificaiton](/forum/2-general-talk-about-hikashop/26987-wrong-moneybookers-notificaiton#26991 "Hi,  when the amount (0.69€) is paid, I get notification: Subject: &quot;Moneybookers payment notification refused:invalid amount&quot;  and message: &quot;Hello, A Moneybookers notification was refused because the amount received (0.69EUR) is different from the order amount (69EUR) ...&quot;  Something is wrong with the coma. The amount 0.69EUR was regularly paid and the money got to Moneybookers account. The problem is just with the notification and cancellation of payment in Hikashop.  I have the 1.5.3 version. Is this solved in 1.5.4 ?")*

Hi,

You should replace the line:
$price_check = trim(trim(round($dbOrder-&gt;order_full_price,(int)$currency-&gt;currency_locale), '0'), '.').$currency-&gt;currency_code;

by:
$price_check = round($dbOrder-&gt;order_full_price,(int)$currency-&gt;currency_locale);
if(strpos($price_check,'.')){
$price_check =rtrim(rtrim($price_check, '0'), '.');
}
$price_check.=$currency-&gt;currency_code;

in the file plugins/hikashoppayment/moneybookers.php
That should solve the problem.

Last edit: 15 years 1 month ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

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

Less More

- Posts: 48
- Thank you received: 0
-
-

15 years 1 month ago [\#27033](#27033) by [vasjaf](/forum/user/2368-vasjaf "View vasjaf's Profile")  Replied by *[vasjaf](/forum/user/2368-vasjaf "View vasjaf's Profile")* on topic *[Re: Wrong Moneybookers notificaiton](/forum/2-general-talk-about-hikashop/26987-wrong-moneybookers-notificaiton#27033 "Hi,  when the amount (0.69€) is paid, I get notification: Subject: &quot;Moneybookers payment notification refused:invalid amount&quot;  and message: &quot;Hello, A Moneybookers notification was refused because the amount received (0.69EUR) is different from the order amount (69EUR) ...&quot;  Something is wrong with the coma. The amount 0.69EUR was regularly paid and the money got to Moneybookers account. The problem is just with the notification and cancellation of payment in Hikashop.  I have the 1.5.3 version. Is this solved in 1.5.4 ?")*

Thank you, Nicolas.
It works now.

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

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