Currency to language addon and paypal - not working

08.02.2013 11:44
#1
szcsaba
Joomshopping forum user no avatar
Name: Szasz Csaba
15.11.2012
Posts: 4
Quote
Currency to language addon and paypal - not working

Hi!

We bought the Currency to language addon, and it works fine: on hungarian pages display prices in HUF, on other pages in EUR. But when I checkout with paypal, the paypal show me an error message: "The link you have used to enter the PayPal system contains an incorrectly formatted item amount." On the paypal forum i find this: "This usually happens when you include a currency symbol or a comma in the price." There is no comma or currency symbol in the price. When I disabled the addon, the paypal checkout works fine. I think the problem is in the addon. What do you think about? There is any solution or suggestion?

Thanks for the reply, and sorry for my english!
szcsaba


Joomla: 2.5
JoomShopping: 3.11.4
 
08.02.2013 11:49
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25853
Quote
Aw: Currency to language addon and paypal - not working

Currency iso code?
url?
admin login?

 
08.02.2013 12:03
#3
szcsaba
Joomshopping forum user no avatar
Name: Szasz Csaba
15.11.2012
Posts: 4
Quote
Aw: Currency to language addon and paypal - not working

Currency iso codes:
Euro - EUR
Forint - HUF

url: http://www.cass-shop.com/

The checkout in EUR is work fine, but in HUF not.

Sorry, I couldn't give you admin login, but if you tell me what i set in admin, i do it.

szcsaba


Letzte Änderung: 08.02.2013 12:03
 
08.02.2013 12:25
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25853
Quote
Aw: Currency to language addon and paypal - not working

problem in paypal

\components\com_jshopping\payments\pm_paypal\pm_paypal.php

row 118 and row 22
Add code

if ($order->currency_code_iso=='HUF') $order->order_total = intval($order->order_total);

 
08.02.2013 12:40
#5
szcsaba
Joomshopping forum user no avatar
Name: Szasz Csaba
15.11.2012
Posts: 4
Quote
Aw: Currency to language addon and paypal - not working

Thanks for the solution. It works now!!

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.