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

#   moneybookers Worng amount

##

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

Less More

- Posts: 41
- Thank you received: 0
-
-
-
- [](http://computergrej.dk)
-

15 years 2 months ago [\#23801](#23801) by [Razavi](/forum/user/2241-razavi "View Razavi's Profile")  *[moneybookers Worng amount](/forum/3-bug-report/23801-moneybookers-worng-amount#23801 "Hi,  We are experiencing some problems with the Moneybookers module.  When order is completed and we are redirected to the payment site the price is changed.  ex  total Price 5.270,00 DKK  But Only payment page is only showing 527 DKK  This only happen for some products not all...  I have a link where the problem occurs:    computergrej.dk/index.php/baerbar/produc.../category&#95;pathway-78")* was created by *[Razavi](/forum/user/2241-razavi "View Razavi's Profile")*

Hi,

We are experiencing some problems with the Moneybookers module.

When order is completed and we are redirected to the payment site the price is changed.

ex

total Price 5.270,00 DKK

But Only payment page is only showing 527 DKK

This only happen for some products not all...

I have a link where the problem occurs:

[ computergrej.dk/index.php/baerbar/produc.../category\_pathway-78](http://computergrej.dk/index.php/baerbar/product/267-133q-asus-u31sd-rx065v-w7hp/category_pathway-78)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yMzgwMS1tb25leWJvb2tlcnMtd29ybmctYW1vdW50P3RtcGw9bWFya2Rvd24=) 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 2 months ago [\#23802](#23802) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: moneybookers Worng amount](/forum/3-bug-report/23801-moneybookers-worng-amount#23802 "Hi,  We are experiencing some problems with the Moneybookers module.  When order is completed and we are redirected to the payment site the price is changed.  ex  total Price 5.270,00 DKK  But Only payment page is only showing 527 DKK  This only happen for some products not all...  I have a link where the problem occurs:    computergrej.dk/index.php/baerbar/produc.../category&#95;pathway-78")*

Hi,

There is indeed a problem with zeros before the comma in prices for moneybookers.
Could you change the code: Code:

$vars = Array( "currency" =&gt; $currency-&gt;currency_code, "amount" =&gt; trim(trim(round($order-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax,(int)$currency-&gt;currency_locale['int_frac_digits']), '0'), '.'), );

to: Code:

$price = round($order-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax,(int)$currency-&gt;currency_locale['int_frac_digits']); if(strpos($price,'.')){ $price =rtrim(rtrim($price, '0'), '.'); } $vars = Array( "currency" =&gt; $currency-&gt;currency_code, "amount" =&gt; $price, );

in the file plugins/hikashoppayment/moneybookers.php and try again ?
That should solve the problem.

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

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

Less More

- Posts: 41
- Thank you received: 0
-
-
-
- [](http://computergrej.dk)
-

15 years 2 months ago [\#23833](#23833) by [Razavi](/forum/user/2241-razavi "View Razavi's Profile")  Replied by *[Razavi](/forum/user/2241-razavi "View Razavi's Profile")* on topic *[Re: moneybookers Worng amount](/forum/3-bug-report/23801-moneybookers-worng-amount#23833 "Hi,  We are experiencing some problems with the Moneybookers module.  When order is completed and we are redirected to the payment site the price is changed.  ex  total Price 5.270,00 DKK  But Only payment page is only showing 527 DKK  This only happen for some products not all...  I have a link where the problem occurs:    computergrej.dk/index.php/baerbar/produc.../category&#95;pathway-78")*

Thanks...

That did the job....

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

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