Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password? (Having an issue with the forum login?)

Search the Forum

Tips and Tricks HQ Forum » WP eStore Forum

Product Name in Traditional Chinese

(8 posts) (3 voices)
  • Started 1 year ago by MrEnergy
  • Latest reply from admin
  • Possible Solutions (Related Topics):
    1. Fancy 6 Display - Remove Product Name
    2. WP Affiliate Platform – Any Way to Show the Product Names on Affiliate Page?
    3. fancy 3 display - uneven based on legnth of product name
    4. Fancy 8 not showing all of product name
    5. Widget Glitch of the products name in check out.

Tags:

  • Traditional Chinese
  • Traditional Chinese Support
  1. MrEnergy
    Member

    Hi,

    My product name are in Traditional Chinese, it works normally in wordpress, but when I click the PayPal Checkout button, it brought me to PayPal and the product descriptions in PayPal order summary became unreadable garbage characters, I don't think this is a PayPal issue, since I used to bought from some sites with Traditional Chinese product name without any problem.

    My question is:
    In eStore, how can I use Traditional Chinese as product name and description and user can still see the correct name/description in their PayPal checkout?

    BTW, I ever tried to save the eStore_payment_submission.php to UTF-8, but it showed error message and didn't work.

    Thank you!

    Posted 1 year ago #
  2. amin007
    Key Master

    You don't need to save the "PHP" files in UTF-8.

    Have you set the language correctly in your PayPal profile? Does it go to the US version of PayPal when you checkout?

    Posted 1 year ago #
  3. MrEnergy
    Member

    I did following steps:
    1) Log into your PayPal account
    2) Go to your profile
    3) Under the selling preferences column, select Language Encoding
    4) Select Western European Languages
    5) Click the more options button
    6) Select encoding is set to UTF-8.
    7) Then save settings

    Now, the "Buy Now" function can show product name in Chinese in Paypal correctly, however it showed me this message when I use the Add to Cart -> Paypal Checkout:

    "Data does not match input character set or default encoding. For more information, please contact the merchant."

    But why I change the Product Name to English, it it OK again, however I do need to use Chinese product name for my customers.

    Any idea for what makes the difference?

    The Paypal document said I should add this code in the form:
    <INPUT TYPE="hidden" name="charset" value="utf-8">

    But I am not sure where to add it.

    I guess all the non-roman language users will have the same issue, could you help?

    Thanks!

    Posted 1 year ago #
  4. amin007
    Key Master

    Lets try this. Open the "eStore_payment_submission.php" file and search for the following:

    $myPaypal->addField('business', $email);

    Once you find it add the following line just above the line you searched for:

    $myPaypal->addField('charset', "utf-8");

    Let me know if that helps. If it doesn't please post your product name (in your language) so I can copy it and test it on my test server.

    Posted 1 year ago #
  5. MrEnergy
    Member

    Hi,

    I did the changes but still have the same issue, I used English first, and it's ok, but then changed to Chinese product name, then the error "Data does not match input character set or default encoding. For more information, please contact the merchant." showed, I then rename the product name back to English and it was OK again.

    The product name I used was: 中文產品名稱

    Could you help to test in your end?

    Thank you!

    Posted 1 year ago #
  6. amin007
    Key Master

    My database format that I use on my test site doesn't support this language.

    Are you sure it's a "UTF-8" language? Because I would think that adding the charset field would fix it as suggested by PayPal.

    Anyway, lets try the following:

    Remember how you added the charset field earlier? Try using the case sensitive version. So add the following:

    $myPaypal->addField('charset', "UTF-8");

    If that doesn't work then try the following. Change UTF-8 to ISO-8859-1

    $myPaypal->addField('charset', "ISO-8859-1");
    Posted 1 year ago #
  7. MrEnergy
    Member

    It still didn't work for both changes with same error message.

    I am using English product name for workaround, hope there will be a fix or something else in the future.

    Thank you anyway!

    Posted 1 year ago #
  8. admin
    Key Master

    This should fix it:

    http://www.tipsandtricks-hq.com/forum/topic/some-characters-and-text-not-recognizable-in-the-notification-email

    Posted 8 months ago #

RSS feed for this topic

Reply

You must log in to post.

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin