patricklee Posted July 29, 2013 Posted July 29, 2013 Hello! all, I try to use paypal express module, it works! But the product name of "Your order sum may" of the paypal web can not show correctly in Traditional Chinese with UTF-8 encoded, and Billing information, and shipping address are not shown correctly, either. I try to set the "encoding option" to "UTF-8" in the setting of my account of paypal website.But it still NOT work!!!! what can I do to correct this problem??? THANK YOU! problem pictures like below: http://farm4.staticflickr.com/3756/9385990395_694edfd12c_o.png http://farm4.staticflickr.com/3670/9385990391_a2d2b429e2_o.png Quote
linkc Posted March 2, 2014 Posted March 2, 2014 #osc #paypal #utf8 #checkout #item #international ... god... it spend me so many days to figure it out...@@ i cant change lines.... just edit includes/modules/payment/paypal_express.php remark the original code (4 lines): // $post_string .= $key . '=' . urlencode(utf8_encode(trim($value))) . '&'; and change to: $post_string .= $key . '=' . urlencode(trim($value)) . '&'; 進到編輯模式突然沒辦法換行...把utf8_encode()拿掉就可以啦!估計是mysql已經是utf8編碼導致抓出來應該就已經是utf8編碼,再編一次當然會錯亂~記得paypal的按鈕那裏也要設成utf8喔~不用感謝我...我找不到答案的時候也是頭大了好幾天... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.