Page 1 of 1

Problem with Greek characters when redirecting to PayPal

PostPosted: Sat May 05, 2012 10:46 am
by ngoagr@.....com
hello,

I am having this problem with Greek characters when redirecting to PayPal, we are using paypal legacy plugin with configuration filed edited.
That problem existed and before the OPC intastallation but we had fixed it by adding "charset" => "utf-8" (if I recall correctly ) in paypal configuration file (ps_paypal.cfg.php)

If OPC is disabled, when redirecting to paypal all characters are correct but when OPC is enabled we get --> Αριθμός Παραγγελίας: 42
those strange characters in Greek are "Αριθμός Παραγγελίας" (= "Order Number")

bellow is where I found "Αριθμός Παραγγελίας" in VM language file in common folder
Code: Select all
'PHPSHOP_ORDER_LIST_ID' => 'Αριθμός Παραγγελίας',
'PHPSHOP_ORDER_PRINT_PO_NUMBER' => 'Αριθμός Παραγγελίας',


site is in Greek but you can give it a try at: www.hlektronikatsigara.com.gr

can you help me fix that problem?

Re: Problem with Greek characters when redirecting to PayPal

PostPosted: Sat May 05, 2012 5:08 pm
by admin
Hello,
Where exactly does the problem occur? The information for paypal are sent via the extra info of the payment method's configuration and received via the notify script.

I recommend to check this file:
/administrator/components/com_virtuemart/languages/common/greek.php -> please check if the file is using utf8 without BOM.

Best Regards,
Stan

Re: Problem with Greek characters when redirecting to PayPal

PostPosted: Sun May 06, 2012 1:56 pm
by ngoagr@.....com
this happens when I click on "confirm order".
it redirects me to paypal and on below image you can see what I mean...
Image

greek.php -> is using utf8 without BOM.

Re: Problem with Greek characters when redirecting to PayPal

PostPosted: Thu May 10, 2012 3:04 pm
by admin
Hmm, these lines are inserted with the extra info tab of the paypal payment method configuration with
Code: Select all
"item_name" => $VM_LANG->_('PHPSHOP_ORDER_PRINT_PO_NUMBER').": ". $db->f("order_id"),


pls attach here or send me by email your greek lang file and i will double check it. Also you may want to write me an email and i will provide you my skype for online support.

Best Regards,
Stan

Re: Problem with Greek characters when redirecting to PayPal

PostPosted: Mon May 14, 2012 10:35 am
by ngoagr@.....com
to get rid of the problem I changed that specific line to english and it works.
I have also attached greek.php file for you to check and sent you an email with my skype name.